httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: [users@httpd] Environment variables in rewrite rule
Date Tue, 21 Oct 2008 13:07:31 GMT
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message