Jump to content

Access Logs for Google Adsense under Linux


socalnate

Recommended Posts

Can anyone please tell me how to create a log file for Apache using linux for the Google Adsense program?  I'm supposed to have a log file but I can't find the access.log file (even though there should be one by default). 

 

I run a dynamic website so I want my links to be generated from a log file. 

 

Nathan  ???

 

   

 

Link to comment
Share on other sites

I would look at your httpd.conf

The accesslog will be defined as

 

customlog <path to log, typically /var/log/httpd/> custom

 

At this point, if the log file isn't already there, you will have to touch the file

#touch <path to log>

 

When the logs are populated with clients hitting your website, it will pull the formatting down from the custom log section.

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.