Re: Problem when mixing RewriteRules and <Location> directives

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

 



This is very interesting problem and I thought the issue was the typo leaving your var empty. I'll have to do some research about the mod_rewrite myself to confirm it precedes SetEnvIf in the order of execution.

Now I'm really curious about the solution my self and will try to find some explanation even test this on one of my apaches if i find time to do that.

Have you tried  this:

Header add X-Debug-Request-URI "%{REQUEST_URI}i" 

i think the difference is that the character "e" at the end means output value and "i" means the input value of the REQUEST_URI.

If that doesn't work try putting the 'Header add " statement before RewriteRules''

Igor

On Fri, Mar 23, 2012 at 10:39 AM, Bruno Tréguier <Bruno.Treguier@xxxxxxx> wrote:
Le 23/03/2012 à 0:23, Bruno Tréguier a écrit :

1) the X-Debug-Request-URI header is correct in the HTTP response, example:

X-Debug-Request-URI: /cartes-en-ligne/checkout/

2) the X-CheckingOut header, however, is NOT set. :-(

Sorry, that was another test. The right output is of course:

X-Debug-Request-URI: /onlinestore/checkout/


Bruno


--
- Service Hydrographique et Oceanographique de la Marine  -  DMGS/INF
-  13, rue du Chatellier -  CS 92803  - 29228 Brest Cedex 2, FRANCE
-     Phone: +33 2 98 22 17 49  -  Email: Bruno.Treguier@xxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
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