Apache httpd.conf not allowing access

Discussion in 'Apache' started by eherr9633, May 17, 2012.

  1. #1
    I am using FreeBSD.

    I created a directory in /usr/local/etc/apache22/httpd.conf

    
    Alias /eherr "/usr/local/www/data/eherr/"
    <Directory  "/usr/local/www/data/eherr/">
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 111.111.0.0/18
        Allow from 555.666.777.888
        Allow from 111.111.0.111
    </Directory>
    
    
    Code (markup):
    When I try to access the web directory via 111.111.0.111, I was not able to get to it.

    However, I am able to get it on all other IPs from the /18 network.

    Then I added the last line, the public IP of my network, and still was not able to get on it.

    Thanks,
    --eherr
     
    eherr9633, May 17, 2012 IP
  2. eherr9633

    eherr9633 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Now I can only gain access when I leave it as Allow from all.

    some help, please!?
     
    eherr9633, Jun 4, 2012 IP