Everything's fine, just not working

New to mod_rewrite? This is a good place to start.

Everything's fine, just not working

Postby goltz » Thu Sep 19, 2002 9:26 am

Does anyone know what might cause mod_rewrite to fail transparently?

I've just begun experimenting with mod_rewrite. The module is compiled and shareable, and I have "LoadModule" and "AddModule" statements in place. I've tried a number of different directives -- my own and others' examples -- and none of them seem to *do* anything. Nothing is written to the rewrite log no matter what the log level, and nothing is rewritten no matter how general the rewrite rule. The directives are reported by mod_info, so *something* is reading them.

This is probably a very simple oversight on my part. Anyone have any ideas?

Here are the relevant parts of my config:

LoadModule access_module libexec/apache/mod_access.so
AddModule mod_rewrite.c
RewriteEngine On
RewriteLog /var/log/httpd-rewrite.log
RewriteLogLevel 9
RewriteRule ^/~(.+) http://newserver/~$1 [R,L]

The rule is from an example in the URL Rewrite Guide by Ralf S. Engelschall.

Thanks in advance for any help.
goltz
 
Posts: 1
Joined: Thu Sep 19, 2002 9:17 am

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 7 guests

cron