You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by ma...@hyperreal.com on 1997/04/03 03:06:18 UTC

Changed information for PR mod_access/305

Synopsis: incorrect hostname lookup for allow/deny directives

State-Changed-From-To: open-closed
State-Changed-By: marc
State-Changed-When: Wed Apr  2 17:06:17 PST 1997
State-Changed-Why:
The OS isn't always returning a fully qualified hostname.

All Apache does is a gethostbyaddr(); there is no portable way for Apache
to say it wants a fully qualified domain name.  It is possible to
configure Solaris to return a fully qualified name, but exactly how you do
that could possibly involve your /etc/hosts file, your NIS setup, or
/etc/nsswitch.conf, among other things.