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