Solved

apache log files

Posted on 2004-10-22
199 Views
Last Modified: 2010-04-20
HI,

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 62.232.32.18 - 192.114.70.159 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/5.0.2.2510  and is there a better way to access logs on this server + detect the referrer like in IIS ?

thx,
A.

0
Question by:rusty2019
    4 Comments
     
    LVL 13

    Expert Comment

    by:petmagdy
    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
    0
     
    LVL 13

    Accepted Solution

    by:
    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
    0
     

    Author Comment

    by:rusty2019
    the server is unix, to be more precise:
    Apache/1.3.19 (Unix) FrontPage/5.0.2.2510
    0
     
    LVL 13

    Expert Comment

    by:petmagdy
    please do the same, the httpd.conf will guide u to the log files
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Scale it in WD Gold

    With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

    Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
    Article by: kevp75
    Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    933 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now