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 <ylavic@gmail.com> wrote: > On Fri, Jul 29, 2016 at 12:47 PM, Mohit Chawla > <mohit.chawla.bin...@gmail.com> wrote: > > Hi, > > > > I am trying to use SetEnvIf with QU

[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

[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