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

 

   

 

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.

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.