Re: [users@httpd] Using SetEnvIf for query string

2016-07-29 Thread Mohit Chawla
Thanks Yann, that worked perfectly ! On Fri, Jul 29, 2016 at 1:24 PM, Yann Ylavic wrote: > On Fri, Jul 29, 2016 at 12:47 PM, Mohit Chawla > wrote: > > Hi, > > > > I am trying to use SetEnvIf with QUERY_STRING, but can't get it to work. > > The QUERY_S

[users@httpd] Using SetEnvIf for query string

2016-07-29 Thread Mohit Chawla
Hi, I am trying to use SetEnvIf with QUERY_STRING, but can't get it to work. This is being done inside the mod_deflate module block like: SetEnvIf QUERY_STRING "baz" var=bar LogFormat '"%q" "%{var}e"' ...with a request like curl localhost?baz, the log has: "?baz" "-" Other variables like REQU

[users@httpd] Re: Using SetEnvIf for QUERY_STRING

2016-07-27 Thread Mohit Chawla
Just a correction: In the first example, I mistakenly wrote foo in the SetEnvIf statement, it is: SetEnvIf QUERY_STRING baz var=bar On Wed, Jul 27, 2016 at 6:47 PM, Mohit Chawla wrote: > Hi, > > I am trying to use SetEnvIf with QUERY_STRING, but can't get it to work. > This is

[users@httpd] Using SetEnvIf for QUERY_STRING

2016-07-27 Thread Mohit Chawla
Hi, I am trying to use SetEnvIf with QUERY_STRING, but can't get it to work. This is being done inside the mod_deflate module block like: SetEnvIf QUERY_STRING foo var=bar LogFormat '"%q" "%{var}e"' ...with a request like curl localhost?baz, the log has: "?baz" "-" Other variables like REQUES