You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2013/11/22 00:33:39 UTC

[Bug 55809] New: Require ip directive does not support in-line comments

https://issues.apache.org/bugzilla/show_bug.cgi?id=55809

            Bug ID: 55809
           Summary: Require ip directive does not support in-line comments
           Product: Apache httpd-2
           Version: 2.4.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_authz_host
          Assignee: bugs@httpd.apache.org
          Reporter: sander@vanzoest.com

The following block does not pass config parsing as it does not support inline
comments similar to httpd 2.2

<Location /server-status>
   SetHandler server-status
   Require local
   Require ip 10.0.0.0/16  # Internal Network
</Location>

STDERR: Output of config test was:
AH00526: Syntax error on line 45 of /etc/apache2/sites-enabled/vhost.conf:
ip address '#' appears to be invalid
Action 'configtest' failed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 55809] Require ip directive does not support in-line comments

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55809

enteiser@googlemail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from enteiser@googlemail.com ---
Not a bug:

http://httpd.apache.org/docs/2.4/configuring.html#syntax

"Comments may not be included on a line after a configuration directive."

-- 
You are receiving this mail because:
You are the assignee for the bug.

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