Using comments on the same line as configuration directives is not allowed
(although it will probably work in some cases), see the second paragraph on
http://httpd.apache.org/docs/trunk/configuring.html#syntax

Kind Regards,
Mathijs - Sling @ irc://irc.freenode.net/httpd

On Wed, Jan 25, 2012 at 6:58 PM, Bart van der Schans <
[email protected]> wrote:

> Hi all,
>
> Recently I ran into a strange ip parsing bug in a Allow from or Deny
> from statement. When you have a colon in comment after the from <ip>
> statement like this:
>
> Allow from 66.6.6.6 # test : in comment
>
> You get an error with: "The specified IP address is invalid."
>
> Is this a known issue?
>
> If you want to reproduce it in the test suite, just add "# test : in
> comment" in t/modules/access.t on line 27 (trunk r1235848).
>
> Regards,
> Bart
>



-- 
Gr,

Mathijs

Reply via email to