socalnate Posted November 22, 2007 Share Posted November 22, 2007 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 https://forums.phpfreaks.com/topic/78342-access-logs-for-google-adsense-under-linux/ Share on other sites More sharing options...
trq Posted November 22, 2007 Share Posted November 22, 2007 Logs are kept in /var/log. As for.... Can anyone please tell me how to create a log file for Apache using linux for the Google Adsense program? What exactly do you meen? Link to comment https://forums.phpfreaks.com/topic/78342-access-logs-for-google-adsense-under-linux/#findComment-396426 Share on other sites More sharing options...
steviewdr Posted November 25, 2007 Share Posted November 25, 2007 /var/log/apache2/access.log -steve Link to comment https://forums.phpfreaks.com/topic/78342-access-logs-for-google-adsense-under-linux/#findComment-398957 Share on other sites More sharing options...
jdubs Posted November 26, 2007 Share Posted November 26, 2007 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 https://forums.phpfreaks.com/topic/78342-access-logs-for-google-adsense-under-linux/#findComment-399420 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.