You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by yossarian holmberg <yo...@nonline.net> on 1999/10/13 18:10:38 UTC

general/5145: hostnamelookups now ON for virtualhost if .htaccess DENY statement contains FQDN instead of IP

>Number:         5145
>Category:       general
>Synopsis:       hostnamelookups now ON for virtualhost if .htaccess DENY statement contains FQDN instead of IP
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          support
>Submitter-Id:   apache
>Arrival-Date:   Wed Oct 13 09:20:01 PDT 1999
>Last-Modified:
>Originator:     yossman@nonline.net
>Organization:
apache
>Release:        1.3.0
>Environment:
OS: FreeBSD yossman.net 2.2.6-RELEASE FreeBSD 2.2.6-RELEASE #0: Sat Sep 18 12:22:03 EDT 1999     yossman@yossman.net:/usr/src/sys/compile/yossman.net.18sep1999  i386

compiler: gcc 2.7.2.1
>Description:
after looking through the bugs database i didn't find direct reference to something a friend of mine and i just discovered.  my main httpd.conf file has 'hostnamelookups off', but a virtualhoster i have put 'deny whatever.com' into his .htaccess file, and boom, apache resolves every host it logs for him automatically.  we are assuming this is because the server figures that if we're denying based on hostnames instead of IPs it will automatically start to resolve everyone that hits the site.  i haven't seen documentation or discussion on this, but i noticed other people have submitted bug reports re:  way to get virtualhost people to be able to turn their own lookups on.. this seems like it works, documented or not. ;-)
>How-To-Repeat:
see above.
>Fix:
don't know that there is anything to be fixed, but a documentation note would be nice, right in the same spot where you talk about HostnameLookups configuration directive options.  unless it's already there and i'm being dumb.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]