httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Foertsch <torsten.foert...@gmx.net>
Subject Re: [users@httpd] SSI resolve IP to hostname
Date Fri, 29 Feb 2008 14:10:23 GMT
On Fri 29 Feb 2008, Andre Hübner wrote:
> i have just a little problem with name resolution using SSI. Customer of me
> is using <!--#echo var="REMOTE_ADDR"-->   and <!--#echo
> var="REMOTE_HOST"--> to show IP and Hostname of Client. It works without
> any error, I tried with different ISP. Customer says that his IP could not
> resolved to hostname and this field stays empty. I cannot reproduce this
> without his IP and i dont want to visit him at home ;) With little PHP and
> gethostbyaddr or even on console using host i can resolve his IP to his
> hostename. Is there a explaination why SSI could fail or is he just kidding
> me?
>
> >From my side i di not see any errors or mistakes.

You probably want to set HostnameLookups to On

 http://httpd.apache.org/docs/2.2/mod/core.html#hostnamelookups

Torsten

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message