mod_rewrite, php and the .htaccess file
snippet in htaccess
mod_rewrite, php and the .htaccess file
user5642
RewriteEngine on
RewriteBase /
# only rewrite if the requested file doesn't exist
RewriteCond %{REQUEST_FILENAME} !-s
# pass the rest of the request into index.php to handle
RewriteRule ^(.*)$ /index.php/$1 [L]