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 ??? Quote Link to comment 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? Quote Link to comment Share on other sites More sharing options...
steviewdr Posted November 25, 2007 Share Posted November 25, 2007 /var/log/apache2/access.log -steve Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.