httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <>
Subject Re: mod_rewrite & SCRIPT_URx envvars
Date Fri, 31 Aug 2001 21:39:58 GMT
From: "Robert Simonson" <>
Sent: Friday, August 31, 2001 10:45 AM

This doesn't seem right...

    RewriteEngine Off
   <Directory /some/directory >
     RewriteEngine On

If I serve something from this directory container, the SCRIPT_URx
variables are not set because the main server config has the engine off.
Is this right?  It seems like we should be setting them for the context in
which the engine is turned on.

Rob Simonson

That's a bug - iif your request is _really_ for a file in /some/directory
(or its subdirectories.)

If your request is for a proxy, or some other abstract entity, you may no
longer hit Directory/File sections.  E.g. proxy directives can no longer go
into a <Directory > block - they must appear in a <Proxy > block.


View raw message