Re: mod_headers not echoing environment variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 05 Feb 2011 03:18:00 GMT Eric Covener <cove...@xxxxxxxxx> wrote:
> On Fri, Feb 4, 2011 at 10:04 PM, Belov, Charles
<Charles.Belov@xxxxxxxxx> wrote:
>> In response to a request for the file:
>>
http://www.sfmta.com/cms/cmta_test/documents/3-18-08CurrentFares_test.pd
>> 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
anyway
so I don't care.

Thanks,
Charles Belov
SFMTA Webmaster


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux