[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Socket.pm in chrooted Apache

On Thu, Jul 31, 2003 at 01:11:47PM +0200, Marco Knol wrote:
> When using the OpenBSD chrooted Apache, the perl library Socket.pm doesn't
> seem to be able to do any gethostbyaddr() anymore. I guess this module is
> dependent on some library that I've neglected copying over to the
> /var/www-tree.

Try to copy /etc/resolv.conf to /var/www/etc/resolv.conf
Maybe you also need to copy /etc/protocols to /var/www/etc/protocols

Yes. That was it. I already had protocols and hosts but resolv.conf is of course
very important for the lookups.

Oh well.

Solige hilsen,


The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail