Re: URL modification

From: Date: Thu, 06 Mar 2008 15:08:11 +0000
Subject: Re: URL modification
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.general 
Request: Send a blank email to php-general+get-271079@lists.php.net to get a copy of this message
At 4:46 PM +0000 2/25/08, Nathan Rixham wrote:
It may be a good time to throw in this .htaccess which just palms eveything [not found] off to php [.htaccess] RewriteEngine On RewriteBase / DirectoryIndex handle.urls.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /handle.urls.php [L] [/.htaccess] I use this for everything nowadays, in terms of security it also allows me to keep every script out of the web root; and joy of joys don't need to change any rules for static files, as they will always be "found" and thus the rules won't apply: follow?
No, I don't. Please explain. Sounds cool. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#271079) next »