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 2010/09/17 16:55:52 UTC

DO NOT REPLY [Bug 49951] New: mod_authz_host allow is mixing variable and comment data

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

           Summary: mod_authz_host allow is mixing variable and comment
                    data
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: sami.kerola@tomtom.com


Directive bellow denies my queries...

<Location />
        Order Deny,Allow
        Deny from all
        Allow from 192.0.2.1/32
</Location>

...but if I add a comment with magical word 'all', like example bellow...

<Location />
        Order Deny,Allow
        Deny from all
        Allow from 192.0.2.1/32 # all foobar are xyxxys
</Location>

...suddenly requests are allowed from anywhere. I found this while working with
version 2.2.3. I also verified that HEAD version has the same issue. This
bug/regression might be very old and already reported (thou I could not find
such report).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 49951] mod_authz_host allow is mixing variable and comment data

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

Eric Covener <co...@gmail.com> changed:

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

--- Comment #3 from Eric Covener <co...@gmail.com> 2010-12-04 07:57:43 EST ---
Apache doesn't complain because it's not interpreted as a comment

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 49951] mod_authz_host allow is mixing variable and comment data

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

Sami Kerola <sa...@tomtom.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sami.kerola@tomtom.com

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 49951] mod_authz_host allow is mixing variable and comment data

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

--- Comment #2 from Sami Kerola <sa...@tomtom.com> 2010-09-19 06:22:51 EDT ---
Oh... I see.

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

Then I must rephrase what is wrong. Apache does not complain on start, or at
configuration check, that there are unsupported comments that can cause weird
behaviour.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 49951] mod_authz_host allow is mixing variable and comment data

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

--- Comment #1 from Stefan Fritsch <sf...@sfritsch.de> 2010-09-18 05:36:58 EDT ---
Apache httpd simply does not support comments on the same line as a config
directive. Comments must be on a line by themselves.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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