httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tyju tiui <jckdnk...@yahoo.com>
Subject Re: [users@httpd] Query-String Access from SetEnvIf
Date Sat, 03 Feb 2007 04:04:10 GMT
Sorry, you're missing the point I think.
I don't want to create any variables if I don't have to ... I just want access to the query-string.

I think at this point it is impossible ... I'm just going to submit a bug report / feature
request.

Thanks,

Ty



----- Original Message ----
From: Krist van Besien <krist.vanbesien@gmail.com>
To: users@httpd.apache.org
Sent: Wednesday, January 31, 2007 11:22:50 AM
Subject: Re: [users@httpd] Query-String Access from SetEnvIf

On 1/31/07, tyju tiui <jckdnk111@yahoo.com> wrote:
>
> Hi Boyle,
>
> I'm actually only interested in finding out how to evaluate the query-string
> portion of an incoming URL to trigger custom log events.
>
> I got the Query_String var from bobsiegen@googlemail.com who initially
> responded to my request for help (see below).
>
> Any idea as to how I can get to the query-string with SetEnvIf?

I don't think you can get to the query string with SetEnvIf, but you
can set environment variables based on about anything with a
rewriterule.

RewriteCond %{QUERY_STRING} !^$
RewriteRule  (.*)   $1 [E=dolog:yes]

Krist


-- 
krist.vanbesien@gmail.com
Bremgarten b. Bern, Switzerland
--
"...what you don't realize is that in the future Google WILL reach
sentience, will [have had] invent[ed] a time machine, and will [have
had] travel[ed] back in time to prevent Bill Gates... only to become
Bill Gates by accident because of a search engine optimization
miscalculation." (Comment on the Dilbert Blog)

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








 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 
Mime
View raw message