Jump to content
The Uniform Server Community

apache2 rotatelogs virtual host


Recommended Posts

Posted

Hello

 

I am using this for one of the virtual hosts..

 

CustomLog "|${APACHE_HOME}\bin\rotatelogs.exe  ${DH_LOG}/apache/access/localhost_access.%Y%m%d.log 86400" combined

 

However im getting this error..

 

 

piped log program 'I:\\ProgramFiles\\xampp\\apache\\bin\\rotatelogs.exe  I:\\Cap\\log/apache/access/localhost_access.%Y%m%d.log 86400' failed unexpectedly
'I:ProgramFilesxamppapachebinrotatelogs.exe' is not recognized as an internal or external command,
operable program or batch file.

 

1) assume apache_home and dh_log have some paths.. and since im currently on windows.. its taking '\' instead of '/' as in unix..

 

2) the slashes are being stripped.. how do i stop it ?

 

3) ive used xampp to install apache.. hope that should not matter...

 

Please let me know how i can fix this

 

thanks

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...