Re: Problem when mixing RewriteRules and <Location> directives

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

 



Le 21/03/2012 10:15, Igor Cicimov a écrit :
Ummmm if you read your post you will find that you have answered your
own question. The /onlinestore/checkout matches your rewrite rule thus
gets redirected to index.php before the Location statement gets into
action. I think you need to read the apache documentation about the
order in which the rules and statements get executed.

Hi Igor,

I realised that the Location statement was impacted by RewriteRules, but what puzzles me is that the environment variable REQUEST_URI is also impacted. The client requested a given URI, whatever is done then via RewriteRules, it seemed to me that there should be a way to save that information somewhere, and REQUEST_URI appeared to me as the perfect place for that.

That way, even if the <Location> method didn't work, the SetenvIf method would.

Thanks anyway for that answer.

Regards,

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