Gilles Chehade wrote:

> the problem is not about having a "route added to the chroot" but
> rather about having the resolver (hint: there's a hint in what I just
> wrote) know how to do its work.

> > > So I've added the file /var/www/etc/hosts:
> > > 
> > > 127.0.0.1       localhost
> > > 94.100.188.5    appsmail.ru www.appsmail.ru
> > > 
> > > And also have changed this line in /var/www/conf/php.ini:
> > > 
> > > allow_url_fopen = On
> > > 
> > > Unfortunately I still get the error:
> > > 
> > > Warning: file_get_contents(http://94.100.188.5/robots.txt)

So either the OP configured his script to use the IP rather than the
host name or apache resolves fine. In both cases the problem seems not
the resolver. Or did I miss something?

Helmut

-- 
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn

Reply via email to