Re: Environment variables in rewrite rule

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

 



Roberto Allende wrote:
Hello

I need to write a rule like this:
RewriteRule ^/RSS$
http://127.0.0.1:8080/VirtualHostBase/http/mydomain.com:80/RSS?set_lang=en/VirtualHostRoot/
[L,P,NC]

The problem is the "RSS?set_lang=en" part because after the ?  it
doens't work. I tried with NE and it doesn't work neither. Also i
tried using SetEnv and a condition without luck.

It does not work, because anything after the ? is not really part of the URL, it is the "query string". You should have another look at the documentation, searching specifically for "query string".


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