Web Servers on Unix and Linux - Selective Hostnamelookups off only for a known set of IPs

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > March 2004 > Selective Hostnamelookups off only for a known set of IPs





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Selective Hostnamelookups off only for a known set of IPs
Sujal Raju

2004-03-06, 10:35 am

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.*

Thanks,

SR
Joachim Ring

2004-03-18, 2: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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com