Ah, I suppose I should have mentioned I tried both. Not sure its required with Apache, but I went ahead and restarted the httpd service after each change to the file just to be sure. Currently it looks like this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]
#needed because admincp is an actual directory.
RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]
</IfModule>
I get the home page just fine (http://lamp11.homeschooltracker.com) but as you will see..404 errors when trying to do things like log in.
/jlg/
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]
#needed because admincp is an actual directory.
RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]
</IfModule>
I get the home page just fine (http://lamp11.homeschooltracker.com) but as you will see..404 errors when trying to do things like log in.
/jlg/
Comment