Vertigo
02-24-2008, 06:20 PM
Hi there,
Im creating a CMS using mod_rewrite with this htaccess...
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.php [QSA,L]
...which works fine for http://www.site.com/home, http://www.site.com/about, http://www.site.com/contact etc.... everything really, except when I point to http://www.site.com/ ... it returns a forbidden message. I have renamed the default index.html to xindex.html, naming it back brings up the index file. Its like the rules are being ignored for when the url is empty.
Any help would be appreciated.
Im creating a CMS using mod_rewrite with this htaccess...
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.php [QSA,L]
...which works fine for http://www.site.com/home, http://www.site.com/about, http://www.site.com/contact etc.... everything really, except when I point to http://www.site.com/ ... it returns a forbidden message. I have renamed the default index.html to xindex.html, naming it back brings up the index file. Its like the rules are being ignored for when the url is empty.
Any help would be appreciated.