httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Belov, Charles" <>
Subject Re: [users@httpd] mod_headers not echoing environment variables
Date Wed, 09 Feb 2011 01:46:27 GMT
On Sat, 05 Feb 2011 03:18:00 GMT Eric Covener <> wrote:
> On Fri, Feb 4, 2011 at 10:04 PM, Belov, Charles
<> wrote:
>> In response to a request for the file:
>> f?abc
>> with the following directive in .htaccess in the same folder
>> Header set Location "http://%{SERVER_NAME}e%{REQUEST_URI}e"
>Those aren't environment variables.  You might be able to use setenvif
>or rewriterule to copy variables they know how to interpolate into
>regular environment variables.

setenvif worked for request_uri, which it turned out is all I wanted.

server_name didn't seem to work, but I decided not to use server_name
so I don't care.

Charles Belov
SFMTA Webmaster

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message