On Sat, 05 Feb 2011 03:18:00 GMT Eric Covener <cove...@gmail.com> wrote:
> On Fri, Feb 4, 2011 at 10:04 PM, Belov, Charles
<charles.be...@sfmta.com> 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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to