Simplest mod_rewrite example ever
Great for front controllers - courtesy of Wordpress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /frontcontroller.php?foo=$1 [L]
Great for front controllers - courtesy of Wordpress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /frontcontroller.php?foo=$1 [L]
This entry was posted on Wednesday, March 22nd, 2006 at 3:38 pm and is filed under Apache, Internet. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Powered by
WordPress and the LivingOS BETA theme.
Entries (RSS)
and Comments (RSS).