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'...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |