Jump to content

Creating a visitor log file


Oscarman

Recommended Posts

Thanks in advance

 

I'm running Apache 2.2.4 with a virtual host. I'm really having trouble trying to create a log file on who visits the site by ip address.

I have searched quite a bit and found lots of info that i do not under stand.

Any simple tutorials out there?

 

attached is part of my httpd file

 

I hope this is enough info to start with (sorry really trying my best to help myself)

 

<VirtualHost *:80>

  ServerAdmin [email protected]

  DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs3/

  ServerName www.mysite.com

  ServerAlias mysite.com

  #ErrorLog C:\Program Files\Apache Group\Apache2\error\error.log

  CustomLog logs/dummy-host.example.com-access_log common

</VirtualHost>

Link to comment
https://forums.phpfreaks.com/topic/133723-creating-a-visitor-log-file/
Share on other sites

 

 

I read over the link you gave several times still without understanding what to do.

 

what is "mod_log_config module "?

 

 

how do I know it's being loaded ?

 

Would seeing my conf file be more helpful?

 

 

 

http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#customlog

 

 

Looks valid to me, assuming the mod_log_config module loaded....

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.