Revision: 54810
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 12, 2012 20:07 by ghost2109
Initial Code
#Disables listing of files in directorys IndexIgnore * #Turns mod_rewrite on RewriteEngine On #If directory exists ignore RewriteRule RewriteCond %{REQUEST_FILENAME} !-d #If file exists ignore RewriteRule RewriteCond %{REQUEST_FILENAME} !-f #If link exists ignore RewriteRule RewriteCond %{REQUEST_FILENAME} !-l #Rewrite url and pass to variable $url(in php script use $_REQUEST['url'] #then write url handler to parse url in index.php) RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
Initial URL
Initial Description
This is an .htaccess file for a mod_rewrite php url handler.
Initial Title
.htaccess php handler mod_rewrite
Initial Tags
php, htaccess
Initial Language
Apache