On 9/13/05, sven buerger <fridolin@xxxxxxxxxxxx> wrote: > Hi, > > i've tried many things to get a setenvif working with GET-parameters in > a url. The problem, i can only use the url till the ? marker. I will > explain by example > > > http://locahost/index.php?test=1 > > i want to check the existence of test. i tried > > setenvifnocase Request_URI test test=1 > > but this doens't work. i've tried As the docs say, Request_URI does not include the query string. I believe you'd need to use mod_rewrite for this: RewriteEngine On RewriteCond %{QUERY_STRING} ^test=1$ RewriteRule .* - [E=test:1] Be sure to use the RewriteLog for debugging. Joshua. --------------------------------------------------------------------- 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