03-18-04 07:05 PM
sujal55@yahoo.com (Sujal Raju) wrote in message news:<ec6edd26.0403060652.67eb3637@posting.
google.com>...
> Hi: I have recently come across a problem where I want to have
> hostnamelookups switched OFF for a known set of IP addresses for a
> vendor who does not support name lookups. But I want it to be ON for
> all others. Is there any way I can achieve this by configring a
> directive in httpd.conf in Apache 2.0.*
since HostNameLookups can stand in a <Directory> container, you could
use mod_rewrite to point to different directories (symlinked to avoid
double maintenance and space) depending on client ip and then have
different HostNameLookups in there. in general its better to look
these up offline as the reverse lookups cost lots of time.
joachim
[ Post a follow-up to this message ]
|