Re: [users@httpd] Re: SetEnvIf[NoCase] and url get attributes

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

 



On 9/13/05, sven buerger <fridolin@xxxxxxxxxxxx> wrote:
> hi,
> 
> 13.09.2005 17:55 Joshua Slive wrote:
> > As the docs say, Request_URI does not include the query string.  I
> > believe you'd need to use mod_rewrite for this:
> 
> But then query_string should work?
> 
> and for example http://www.tolatsga.org/info.php?test=1 under
> environment the request_uri includes the ?test=1 and I didn't find any
> document that described anything other.

No.  See:
http://httpd.apache.org/docs/2.0/mod/mod_setenvif.html#setenvif
and
http://httpd.apache.org/docs/2.0/env.html

SetEnvIf matches only against the specific things listed in the docs. 
One of those things is "environment variables", but you'll note that
QUERY_STRING is not a variable in the apache environment.  It is added
to the environment only when launching CGI and SSI scripts.

Yes, it would be nicer if apache were more consistent about what
variables are available where.  But the environment variables docs do
try to be explicit about it.

Joshua.

> 
> I don't like the mod_rewrite for this "little" problem.  hope there is
> any other solution.
> 
> bye
> 
> 
> ---------------------------------------------------------------------
> 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
> 
>

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