Re: [us...@httpd] Windows rotatelogs, cmd.exe permission

2009-07-08 Thread Philip J Dicke
This sounds like the solution until the new "real pipes" solution is implemented. Thank you all. On Wed, Jul 8, 2009 02:59 PM Sander Temme wrote: > > >On Jul 8, 2009, at 11:09 AM, Philip J Dicke wrote: > >> Windows does not seem to have the "apachectl graceful" command that >> unix does. >> T

Re: [us...@httpd] Windows rotatelogs, cmd.exe permission

2009-07-08 Thread Sander Temme
On Jul 8, 2009, at 11:09 AM, Philip J Dicke wrote: Windows does not seem to have the "apachectl graceful" command that unix does. The only solution that I see is to run apache, where it writes straight to a log file, write a script that shuts down httpd, moves the log file and restarts ht

Re: [us...@httpd] Windows rotatelogs, cmd.exe permission

2009-07-08 Thread William A. Rowe, Jr.
Philip J Dicke wrote: >> Ok; please explain how the process initially has rights to invoke cmd.exe >> and how these were subtracted after initialization? > Well it works now b/c the webserver user has access to the cmd.exe. Security > review revealed that access needs to be removed. Ok; that's no

Re: [us...@httpd] Windows rotatelogs, cmd.exe permission

2009-07-08 Thread William A. Rowe, Jr.
Philip J Dicke wrote: > I currently have httpd running as a windows service, logging on as a > restricted > user called "webserver". That account is very restricted in the folders that > it can read/execute. In order to follow the security policy, the webserver > account needs to be configured s

[us...@httpd] Windows rotatelogs, cmd.exe permission

2009-07-08 Thread Philip J Dicke
Apache 2.2.11 Windows Server 2003 R2 x64 Hello all, I've searched the archives and only found confirmation of what my problem is, but no solutions. I am trying to configure apache httpd in such a way that logs are rotated on a daily basis, and the server is not shut down when doing so. Currently