Using rotatelogs.exe functon with Apache 2.0 On Windows 2K3

Posted on 2006-03-25
Last Modified: 2007-12-19
The file location of rotatelogs.exe has spaces in it and so does the log file, how do I enclose it in the command

"|C:\Program Files.....

Also, what's the proper command to have the log file reset every 24 hours

Question by:eroute
    LVL 27

    Accepted Solution

    Try to use a MS-DOS path, e.g.

    CustomLog "| D:\Progra~1\Apache~1\Apache\bin\rotatelogs.exe .....
    or relative to the ServerRoot
    CustomLog "|bin/rotatelogs.exe .....

    >Also, what's the proper command to have the log file reset at 12AM

    use the command 12M
    CustomLog "|...rotatelogs.exe ....logfile 12M" common

    Author Comment

    I'm only getting the word common line by line in the log files...

    Author Comment

    Nevermind, I got it, thanks.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
    Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    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!

    760 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

    15 Experts available now in Live!

    Get 1:1 Help Now