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 me@gmail.com

  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
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....

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.