apache log files


I am using clicktracks, a software that analyzes web activity.  when working with IIS server, the server produces log files with .log suffix, sorted
by day and containing all data. an example of a raw in the log file:

2004-08-05 08:40:15 - 80 get /default.asp ref_url=4 200 mozilla/4.0+(compatible;+msie+6.0;+windows+nt+5.1;+.net+clr+1.1.4322) http://www.google.co.uk/search?q=cheap+flights+to+tel+aviv&ie=utf-8&hl=en&meta=

I can easily import that log files to the clicktracks software and it works fine.
However, i have a website hosted by apache server that i need to analyze. i couldn't see any .log files, just a large
access-log.dat  file which is a large collection of all data and i can't see the referrer either.
the server is Apache/1.3.19 (Unix) FrontPage/  and is there a better way to access logs on this server + detect the referrer like in IIS ?


Who is Participating?
petmagdyConnect With a Mentor Commented:
ok for linux do the following, look for apache configuration file httpd.conf in (etc/httpd/conf) open the file and get the values ErrorLog, CustomLog and TransferLog, they propably look like this:

ErrorLog          /var/log/httpd/error_log
CustomLog      /var/log/httpd/access_log
TransferLog     /var/log/httpd/access_log

these are the files for ur site analyzer
check this directoy:

{apache home}\Apache\logs

u will find files without extensions like (access_log) and (error_log) that is u want to

if the OS is linux the files are the same but the location is different I will check this location and tell u soon
rusty2019Author Commented:
the server is unix, to be more precise:
Apache/1.3.19 (Unix) FrontPage/
please do the same, the httpd.conf will guide u to the log files
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.