Can't get mod_rewrite to work
Posted: Sat Nov 18, 2006 4:48 pm
I can't figure out why mod_rewrite won't work on my apache installation...
This line is uncommented in httpd.conf:
This is the htaccess file...
Anything I could be forgetting? This is not rewriting the urls. Every time I think I have got mod_rewrite down, it stops working. 
EDIT: I'm so tired... I'm probably overlooking something really simple. I got like 2 hours of sleep last night and I'm the type of person who needs a lot of sleep. I just made myself a big pot of coffee and I'm on my third cup.
EDIT AGAIN: It doesn't seem like .htaccess files are working at all. Why would .htaccess files not work??
This line is uncommented in httpd.conf:
Code: Select all
LoadModule rewrite_module modules/mod_rewrite.soCode: Select all
RewriteEngine on
RewriteCond %{REQUEST_URI} !/public.*
RewriteCond %{REQUEST_URI} !/javascript.*
RewriteRule .* index.php
php_flag magic_quotes_gpc off
php_flag register_globals offEDIT: I'm so tired... I'm probably overlooking something really simple. I got like 2 hours of sleep last night and I'm the type of person who needs a lot of sleep. I just made myself a big pot of coffee and I'm on my third cup.
EDIT AGAIN: It doesn't seem like .htaccess files are working at all. Why would .htaccess files not work??