mod_rewrite problem
Update: There was an "AllowOverride None" in the httpd.conf that was preventing the .htaccess file from being used.
Environment:
I've added a RewriteLog line to httpd.conf but the output just shows a lot of "pass through" entries and nothing else, which makes me wonder if mod_rewrite is installed/enabled - how can I tell? Everything I've read says it's installed by default and httpd.conf contains both "LoadModule rewrite_module modules/mod_rewrite.so" and "RewriteEngine on" - should there be anything else?
I don't see any errors/warnings when I restart the httpd service. Oh, and I've checked that mod_rewrite.so exists. :)
(Before anyone asks me to post the httpd.conf file, it's 1275 lines so it might be easier if you can be specific about which bits you want to see.)
[Cross-posted to
fedora_linux.]
Environment:
- Fedora Core release 3 (FC3); Kernel 2.6.11-1.27_FC3smp on an i686
- httpd-2.0.52-3.1 (the most recent RPM for FC3 that I can find)
- I host a couple of personal sites on my server, handled as VirtualHosts in httpd.conf
I've added a RewriteLog line to httpd.conf but the output just shows a lot of "pass through" entries and nothing else, which makes me wonder if mod_rewrite is installed/enabled - how can I tell? Everything I've read says it's installed by default and httpd.conf contains both "LoadModule rewrite_module modules/mod_rewrite.so" and "RewriteEngine on" - should there be anything else?
I don't see any errors/warnings when I restart the httpd service. Oh, and I've checked that mod_rewrite.so exists. :)
(Before anyone asks me to post the httpd.conf file, it's 1275 lines so it might be easier if you can be specific about which bits you want to see.)
[Cross-posted to
fedora_linux.]