Apache Log Rotation for Windows

This is a discussion on Apache Log Rotation for Windows within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I'm running the latest apache for windows on win2k. Have read the docs re log rotation but i'...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-16-2005
Jenny
 
Posts: n/a
Default Apache Log Rotation for Windows

Hi,

I'm running the latest apache for windows on win2k.

Have read the docs re log rotation but i'm totally confused.

Can someone point me in the right direction please?

Thanks, Jenny
http://www.chicksnchaps.co.uk


  #2 (permalink)  
Old 06-16-2005
weeged@gmail.com
 
Posts: n/a
Default Re: Apache Log Rotation for Windows

Hi Jenny

The problem I found was the issue with spaces in the directory names.

I had installed Apache in the default 'c:\Program Files\Apache
Group\Apache2' location. This caused me problems configuring the log
rotation. To save me the hassle of having to reinstall Apache I
created a c:\webserverlogs directory, copied the rotatelogs.exe to that
and edited my httpd.conf file as follows:

CustomLog "|c:/webserverlogs/rotatelogs.exe
c:/webserverlogs/access.log-%Y-%m-%d 86400 " common

Remember to use forward slashes!!

Hope this helps

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:07 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0