You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by André Malo <nd...@perlig.de> on 2018/07/26 19:18:48 UTC

Re: svn commit: r1836638 - /httpd/httpd/trunk/docs/manual/expr.xml

* covener@apache.org wrote:

> Author: covener
> Date: Wed Jul 25 14:46:33 2018
> New Revision: 1836638
>
> URL: http://svn.apache.org/viewvc?rev=1836638&view=rev
> Log:
> add 2 conditional logging examples
>
>
> +# Conditional logging
> +CustomLog logs/access-errors.log common “expr=%{REQUEST_STATUS} >=
> 400” +CustomLog logs/access-errors-specific.log common
> “expr=%{REQUEST_STATUS} -in {'405','410'}" +

Yuck. This is certainly not valid httpd.conf :-) Looks like fancy quotes 
from here. Please use boring quotes for pastability.

Cheers,
-- 
> Rätselnd, was ein Anthroposoph mit Unterwerfung zu tun hat...
                    ^^^^^^^^^^^^
[...] Dieses Wort gibt so viele Stellen für einen Spelling Flame her, und
Du gönnst einem keine einzige.    -- Jean Claude und David Kastrup in dtl

Re: svn commit: r1836638 - /httpd/httpd/trunk/docs/manual/expr.xml

Posted by Eric Covener <co...@gmail.com>.
On Thu, Jul 26, 2018 at 3:19 PM André Malo <nd...@perlig.de> wrote:
>
> * covener@apache.org wrote:
>
> > Author: covener
> > Date: Wed Jul 25 14:46:33 2018
> > New Revision: 1836638
> >
> > URL: http://svn.apache.org/viewvc?rev=1836638&view=rev
> > Log:
> > add 2 conditional logging examples
> >
> >
> > +# Conditional logging
> > +CustomLog logs/access-errors.log common “expr=%{REQUEST_STATUS} >=
> > 400† +CustomLog logs/access-errors-specific.log common
> > “expr=%{REQUEST_STATUS} -in {'405','410'}" +
>
> Yuck. This is certainly not valid httpd.conf :-) Looks like fancy quotes
> from here. Please use boring quotes for pastability.

Gross! Thanks for catching this. These were copied right out of
httpd.conf w/ vi (still there on server).
Dunno how I managed to do anything that would convert them on the fly.

Re: svn commit: r1836638 - /httpd/httpd/trunk/docs/manual/expr.xml

Posted by Eric Covener <co...@gmail.com>.
On Thu, Jul 26, 2018 at 3:19 PM André Malo <nd...@perlig.de> wrote:
>
> * covener@apache.org wrote:
>
> > Author: covener
> > Date: Wed Jul 25 14:46:33 2018
> > New Revision: 1836638
> >
> > URL: http://svn.apache.org/viewvc?rev=1836638&view=rev
> > Log:
> > add 2 conditional logging examples
> >
> >
> > +# Conditional logging
> > +CustomLog logs/access-errors.log common “expr=%{REQUEST_STATUS} >=
> > 400† +CustomLog logs/access-errors-specific.log common
> > “expr=%{REQUEST_STATUS} -in {'405','410'}" +
>
> Yuck. This is certainly not valid httpd.conf :-) Looks like fancy quotes
> from here. Please use boring quotes for pastability.

Gross! Thanks for catching this. These were copied right out of
httpd.conf w/ vi (still there on server).
Dunno how I managed to do anything that would convert them on the fly.

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