perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Gardner <>
Subject mod_rewrite
Date Fri, 10 Nov 2006 10:55:06 GMT
I don't know if this is the right place to ask but ............

in the log created by mod_rewrite, it tells me that it's prefixing my local_path with document_root.

what I want is the server_root!!

This is in a virtual host

RewriteEngine on
##RewriteBase SERVERROOT/p4c
RewriteRule /cgi-bin/ /cgi-bin2/
RewriteRule /cgi-bin/ /cgi-bin2/
RewriteLog "/tmp/rewrite.log"
RewriteLogLevel 3

In the .htaccess in /cgi-bin I have ...............

RewriteBase /hard/coded/path/to/server_root

But this seems to raise another problem as the port is stripped of on each request!!

This is all new to me and I don't have time to read the docs plus, I'm nor a server admin
and it has to be done pronto :(



 The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet
View raw message