Hello,
I have the following problem with doing "apache configtest":
Syntax OK
[Fri Dec 19 22:38:23 2003] [error] Cannot remove module mod_rewrite.c: not found in module list
-
However.. I have the following included in my httpd.conf in the relvant places:
LoadModule rewrite_module libexec/mod_rewrite.so
AddModule mod_rewrite.c
and some rewrite code that I wanted to test.. not that any of it worked, probably due to the problem mentioned above:
<Directory /usr/local/apache/htdocs>
RewriteEngine on
#RewriteLock /var/lock/subsys/rewrite_lock
#RewriteLog /var/log/httpd_rewrite
#RewriteLevel 1
RewriteRule ^/~([^/]+)/?(.*) /u/$1/$2 [R]
RewriteRule ^/([uge])/([^/]+)$ /$1/$2/ [R]
RewriteRule ^/$ /e/www/ [R]
#RewriteEngine on
RewriteCond %{HTTP_HOST} google.com
RewriteCond %{REQUEST_URI} !^/a/
RewriteRule ^(.*) a/$1 [L]
</Directory>