Hi there,
Im creating a CMS using mod_rewrite with this htaccess...
Any help would be appreciated.
Im creating a CMS using mod_rewrite with this htaccess...
...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.RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.php [QSA,L]
Any help would be appreciated.