View Single Post
  #6  
Old 26th November 2009, 15:14
Ashur's Avatar
Ashur Ashur is offline
Senior Member
 
Join Date: Jun 2008
Posts: 523
Default
in google typed in: htaccess index, and got first link
Fun with .htaccess
going down to "Change Your Default Home Page"
and you can use this

Code:
DirectoryIndex hieronymous.html index.cgi index.php index.html
basically you're telling apache to look for hieronymous.html first as your index if not found then index.cgi then index.html :)

I figured out this solution while using portal mod for phpbb2 back the days and i was wondering how they got portal.php as default and not index.php so looked in htaccess and figured it out :p .... and from that day i try to figure things by configuring htaccess and so far happy with that

you can do ip banning, hotlink protection, username/password protection, SEO and more :) I'm telling you man go learn more of htaccess you'll have tons of fun

Good Luck
__________________
Say NO to private tracking
Running TorrentHoster 2.5 on IraqiGate.org
Reply With Quote
The Following 2 Users Say Thank You to Ashur For This Useful Post:
Giorgatzelos (27th November 2009), romano1 (23rd January 2012)