Re: Re: hiding the index.php page.

From: Date: Mon, 23 Jan 2006 13:20:25 +0000
Subject: Re: Re: hiding the index.php page.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-229082@lists.php.net to get a copy of this message
Barry wrote:
Gregory Machin wrote:
Hi I would like to know how i would hide my index page so that it is not shown at the end of the url like how gmail does it and many cms do it .. And what is it called when one does this .. Thank you
If you use Apache, what you are looking for is probably the 'DirectoryIndex' directive: http://httpd.apache.org/docs/2.0/mod/mod_dir.html#directoryindex But it could also be that you mean something that needs 'mod_rewrite', in this case I guess it's better if you search the archives: http://marc.theaimsgroup.com/?l=php-general&w=2&r=1&s=mod_rewrite&q=b HTH! Ciao, Silvio -- tradeOver | http://www.tradeover.net ...ready to become the King of the World?

« previous php.general (#229082) next »