Selective Hostnamelookups off only for a known set of IPs
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers on Unix and Linux > Selective Hostnamelookups off only for a known set of IPs




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-06-04 03:35 PM

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





[ Post a follow-up to this message ]



    Re: Selective Hostnamelookups off only for a known set of IPs  
Joachim Ring


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:27 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register