P is for Practical | |
PerlMonks |
Re: How can I determine whether a URI, hostname or IP address is to the local host machine?by mhearse (Chaplain) |
on Apr 29, 2014 at 00:10 UTC ( [id://1084216]=note: print w/replies, xml ) | Need Help?? |
Some suggestions:
Create a central database accessible by all httpd machines. select * from hostname_map where ip = ? This table would have to be manually populated. Use a job server such as gearman to do the URI requests. I've done it within cgi/mod_perl... it can be messy.
In Section
Seekers of Perl Wisdom
|
|