mod_rewrite problems
Currently when I go to /etc/httpd/conf/httpd.conf file it appears modrewrite is enabled as I see the following line: "LoadModule rewritemodule modules/mod_rewrite.so". It is not commented out. Additionally, "AllowOverride" is set to "All"
When I go to the modules directory, "mod_rewrite.so" is indeed there
However, when I execute "/usr/sbin/httpd -l | grep modrewrite", it apparently is not installed as the expected modrewrite.c output does not appear.
Additionally, when I attempt to implement a simple .htaccess file with mod_rewrite, it does not work.
Any help is appreciated.
4 Replies
<directory path="" to="" document="" root="">AllowOverride All</directory>
I am using CentOS 5 and did indeed install Apache via my distro's repository.
@bpaw:
Thanks, I have already set "AllowOverride" to "All" for the document root.
I am using CentOS 5 and did indeed install Apache via my distro's repository.
I assume you've checked the error log.
Jim