DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21000>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21000 HostnameLookups do not work with Apache 2.0 ------- Additional Comments From [EMAIL PROTECTED] 2003-06-23 02:37 ------- works for me on RedHat 9, and nobody else has mentioned this issue as far as I recall one difference between Apache 1.3's support for this and Apache 2.0's is that Apache 2.0 uses getnameinfo() for looking up client hostname instead of gethostbyaddr() stuff to try: a) in case you have IPv6 active on your box, switch Apache to IPv4 with something like this: Listen 0.0.0.0:80 instead of Listen 80 this is to see if your getnameinfo() is fooled by v4-mapped address b) add some tracing around the call to getnameinfo()? it *sounds* like getnameinfo() on your system is not respecting the NI_NAMEREQD that we pass in c) disable use of getnameinfo() need to do 3 things, I suspect: 0) make distclean 1) add --disable-ipv6 to configure invocation 2) after configure completes but before you run make, edit srclib/apr/include/arch/unix/apr_private.h and comment out the line "#define HAVE_GETNAMEINFO 1" to see if it works when gethostbyaddr() is used --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
