On Friday 17 Jan 2003 7:18 am, simran wrote:
if (you are looking for connections that have come in over time) then
look in the log file
else if i you are looking for the ip that is current connecting to the cgi
script you can usually find that info in the environment variable
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Are you looking for someway to process the log files from the web server or do
you want to see what is _directly_ connected at the time?
If you are looking for ways to process logs, then check the perl cookbook
(oreilly) that has some examples in
Maybe we should bring this discussion out to a more appropiate list, but
anyways, have a look into this doc.
http://dev.zope.org/Wikis/DevSite/Proposals/RemoteAddrAndAccelerators
This is not perfertly reliable, but you might want to consider it.
Tor.
Please bear in mind that this IP
Hey,
My friend is doing some web programming with perl, and wanted me to help
him do something. He wants to create a script that will show all the IPs
that are connected to the http server. I have looked on through several
sites, and even a couple fo books I own. Yet I have failed to find a
if (you are looking for connections that have come in over time) then
look in the log file
else if i you are looking for the ip that is current connecting to the cgi script
you can usually find that info in the environment variable REMOTE_ADDR -
$ENV{'REMOTE_ADDR'}
else
how about using mod_status? it shows all the IP connected to the server.
Tor.
simran wrote:
if (you are looking for connections that have come in over time) then
look in the log file
else if i you are looking for the ip that is current connecting to the cgi script
you can