views:

104

answers:

1

I've been trying to use rotatelogs.exe on Windows Server 2k to rotate the access.log. But whenever I restart apache it gets an error when reading http.conf

Here is the line:

CustomLog "|D:\Apache2\Apache2\bin\rotatelogs.exe D:\Apache2\Apache2\logs\access.log 86400” common

I don't know why it's not working. The paths are correct, common log format is defined. Is my syntax wrong somewhere?

A: 

Try forward slashes (/) instead of backslashes (\).

Jeremy Stein
for a windows machine?
Tyler