mod_rewrite E flag does not set env. variable

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

 



Hi all,

I am trying to use the E flag in some of my rewrite rules but without
suggest.

I have following configuration:
RewriteMap portadaboja txt:/opt/datos/httpd/redirect.txt
RewriteRule "^/BOJA$"
"http://%{HTTP_HOST}/boja/${portadaboja:boletin}"; [E=FOCUS:true,R]

The redirect works fine but when I use in my ssi the following:
<!--#set var="focus" value="$FOCUS" -->
1. <!--#echo var="focus" -->
2. <!--#echo var="FOCUS" -->
3. <!--#echo var="%{ENV:FOCUS}" -->

The out put is:
1. 2. 3. (none)

I am using apache2 as package from Ubuntu (2.2.3-3.2ubuntu2.1).

Can somebody explain me what I am doing wrong?

TIA

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


---------------------------------------------------------------------
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