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 2016/03/23 15:19:32 UTC

[Bug 59221] New: Proxy Allow Deny with Comments

https://bz.apache.org/bugzilla/show_bug.cgi?id=59221

            Bug ID: 59221
           Summary: Proxy Allow Deny with Comments
           Product: Apache httpd-2
           Version: 2.2.15
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
          Assignee: bugs@httpd.apache.org
          Reporter: marcel.puschnig@wuerth-itensis.com

This Works well

<Proxy *>
Order Deny,Allow
Deny from All
Allow from 10.0.0.0/8
Allow from 8.8.8.8              #IP from Company X
Allow from 8.8.4.4              #IP from Company Y
Allow from 17.17.17.17          #IP from Company Z
</Proxy>


This Works not so well

<Proxy *>
Order Deny,Allow
Deny from All
Allow from 10.0.0.0/8
Allow from 8.8.8.8              #IP from Company X
Allow from 8.8.4.4              #IP from Company from CH
Allow from 17.17.17.17          #IP from Company Z
</Proxy>

If in the Command the Country Code CH, then i can access to this Site without a
Allow IP in there. Maybe i can Access only from Switzerland IP's but i think it
shouldn't. Know i removed all Country Codes from Commands

-- 
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 59221] Proxy Allow Deny with Comments

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

Yann Ylavic <yl...@gmail.com> changed:

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

--- Comment #1 from Yann Ylavic <yl...@gmail.com> ---
httpd does not support mixing directives and comments on the same line.

You could use something like:

<Proxy *>
Order Deny,Allow
Deny from All
Allow from 10.0.0.0/8
#IP from Company X
Allow from 8.8.8.8
#IP from Company from CH
Allow from 8.8.4.4
#IP from Company Z
Allow from 17.17.17.17
</Proxy>

and be able to put any text in the comments.

-- 
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