[ILUG-Cochin.org] Require client info at apache webserver........

Syam Kumar R. syamkumar at gmail.com
Tue Feb 17 12:13:38 IST 2009


Do you mean to find location of users visiting your website? Ip address of
users are logged in your log file (usually, /var/log/apache2/access.log),
You can use tail command to see last lines.

You can find location from ip in many  ways. Using logresolve (
http://httpd.apache.org/docs/2.2/programs/logresolve.html ) or any online
tools ( just google "ip to location"). Usually, ISP's add location to
hostname. For example, my ip address returns the hostname
xxx.xx.xx.xxstatic-cochin.vsnl.net.in

--
Syam Kumar R.
http://www.webmasterview.com/


On Tue, Feb 17, 2009 at 10:49 AM, Nijeesh T V <tvnijeesh at gmail.com> wrote:

> Hi,
>             Can any one tell me a way to find out the location of the
> client accessing webserver using shell script. Does we need to maintain any
> database for the said requrement.
>
> Thanks in advance...
>
> Regards,
> Nijeesh
>
> _______________________________________________
> Mailinglist mailing list
> Mailinglist at ilug-cochin.org
> http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ilug-cochin.org/pipermail/mailinglist_ilug-cochin.org/attachments/20090217/198616bd/attachment.html>


More information about the Mailinglist mailing list