Re: SSI resolve IP to hostname

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

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux