httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <>
Subject Re: WWW Form Bug Report: "Server denies access to local machines without FQDNs" on OSF/1
Date Tue, 03 Dec 1996 16:22:05 GMT

Thanks for the info. I'll forward it to the developers list.

btw, we've released 1.2 ad won't be fixing 1.1 problems any more.

rob wrote:
>Operating system: OSF/1, version: 
>Version of Apache Used: 1.1.1
>Extra Modules used: none
>URL exhibiting problem: 
>A local machine is denied access to domain restricted
>pages if they are in the servers /etc/hosts file.
>I have:
>order deny,allow
>deny from all
>allow from
>mod_access.c uses gethostbyname() to get the client
>machines address, but if the /etc/hosts file is in
>the Name Switch AND the client machine is in it,
>then access is denied because it tries to match the
>domain name in the client hostname and fails.
>I know I can a) always use DNS (bind) for the
>hosts switch or b) list the local hosts in the 
>allow from field, but I would quite like to
>not have to do either.  Maybe it should
>canonicalise the hostname first ???
>Hope this makes sense.

Rob Hartill.       Internet Movie Database Ltd.  

View raw message