Etomite, mod_rewrite, and .htaccess
Posted by: Anonymous
Posted on: 2004-11-28 12:05:00
I'm using the Etomite CMS and trying to get the friendly URL's going by using the rewrite rules in .htaccess. My first questions is this: is the Apache mod_rewrite installed on Dreamhost accounts by default, and does it run/work with PHP running as CGI?
Secondly, if so, what do I need to do to get it to rewrite correctly? Currently my .htaccess file has the following:
Options FollowSymLinks IncludesNoExec ExecCGI
AllowOverride all
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
I'm not sure if this is what I need or not. I'm hoping someone out there is familiar with Etomite or .htaccess and mod_rewrite enough to help out. I'm about to pull my hair out...
Sean