Apache/httpd Allow from directive

Bob Marcan bob at interstudio.homeunix.net
Fri Apr 9 12:47:43 UTC 2004


Michael Kearey wrote:
> Hi Al,
> Have been playing with mrtg on Fedora. It provides a 
> /etc/httpd/conf.d/mrtg.conf file with
> 
> Alias /mrtg /var/www/mrtg
> 
> 
> <Location /mrtg>
>     Order Deny,Allow
>     Deny from all
>     Allow from localhost
>     # Allow from .example.com
> </Location>
> 
> 
> 
> This consistently *denies* access from localhost to /mrtg directory. 
> When I set Allow line to
> 
>     Allow from localhost 127.0..1
> 
> all is well and works as expected. This is surely a bug? I looked in 
> Bugzilla and found nothing. Any hints clues or confirmation appreciated.
> 
> Cheers,
> Michael
> 
> 

Do you have this line in /etc/hosts ?
127.0.0.1	localhost.localdomain	localhost

-- 
  Bob Marcan                     mailto:bob.marcan at hermes-plus.si
  Aster^H^H...HermesPlus^H^H^H...S&T
  Slandrova ul. 2                       tel:    +386 (1) 5895-200
  1000 Ljubljana, Slovenia              http://www.hermes-plus.si





More information about the fedora-list mailing list