httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Off Topic
Date Sat, 11 Jan 2014 13:57:25 GMT
On Sat, Jan 11, 2014 at 4:46 AM,  <jidanni@jidanni.org> wrote:
>>>>>> "EC" == Eric Covener <covener@gmail.com> writes:
> EC> Try logging the envvar. Whether it's logged the way you want or not,
> EC> you can either focus on or remove the access control directives
>
> OK, I tried logging for the first time today. But I found that even at
> trace8 level, some things were never logged.


Log as in custom access log to see if the environment variable is
ultimately set. e.g. With %{envvar-name}e.

> Those are probably (?) things
> that don't actually get run and await documentation as per
> mentioned in https://issues.apache.org/bugzilla/show_bug.cgi?id=55957#c4
> On the other hand, the results of every <If> I was able to log with
> great clarity.

More likely you are conflating one recent anecdote with some currently
undiagnosed issue/question.

Is there even a subrequest involved in this failing test?

>
> EC> (also, use require env foo instead of order/allow/deny)
>
> Alas those along with <If> I cannot use, as I am trying to find a way to
> rewrite
>
> <If "%{HTTP_HOST} !~ /radioscanningtw\.jidanni\.org/i">
>     Deny from all
> </If>
>
> so it will work in Apache 2.2.9!

There's no point in using a 2.2 compat directive inside a 2.4-only directive.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message