1. Home
  2. Computing & Technology
  3. Web Design / HTML

Get More Details in Your Web Server Logs on Apache

By , About.com Guide

The common log format (CLF) does not include details on the referrer or the user-agent (Web browser) that was used to visit your pages. But it's easy to convert the logging format to the combined log format and get this information.
Difficulty: Easy
Time Required: 1 minute
Here's How:
  1. Login to your Web server.
  2. Edit the httpd.conf file with a text editor.
  3. Find the line that reads:
    CustomLog logs/access_log common
  4. Put a pound-sign (#) at the beginning of that line to comment it out.
  5. Add a new line below it that reads:
    CustomLog logs/access_log combined
  6. Save the file.
  7. Restart the Web server.
What You Need:
  • Apache Web Server
Explore Web Design / HTML
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

©2009 About.com, a part of The New York Times Company.

All rights reserved.