in reply to Re^3: LWP running as cgi
in thread LWP running as cgi
In the case of a chrooted web server, it should be sufficient to copy /etc/hosts into the "etc" directory in the chroot. The path of the chroot can be determined (on Linux) by ls -l /proc/1234/root, where 1234 is the pid of the web server.
In Section
Seekers of Perl Wisdom