title: Apache rotate Access and Error logs Windows
body: <p>How can I rotate the Apache Access and Error logs on a Window 2000 box?</p>
  
  <p>I include my batch file below as an answer.</p>
  
  <p>Is there a way of doing this directly via the Apache config file?  I'm currently using the following customlog command to generate daily logs.</p>
  
  <p>CustomLog '|" "*Apache-Path/bin/rotatelogs.exe" "*Apache-Path/logs/backup/internet_access_%d-%m-%y.log" 86400' combined</p>