This is a discussion on Windows XP + apache within the Windows Web Servers forums, part of the Web Server and Related Forums category; I have a winXP box with apache 2. There are some scripts running to modify the httpd.conf file, after ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have a winXP box with apache 2.
There are some scripts running to modify the httpd.conf file, after that I need to restart apache. This works fine (apache -k restart) when apache is running as a service. Also I have a script that checks if there is enough free space on my harddisk and on a shared harddisk. Only the script doesn't return the value from the share. If I run apache as a console aplication I can access the share normaly and the value is returned. But when it runs as a console aplication the apache -k restart function doesn't work. When apache is running as a service (with system as user) the apache -k restart function is working good, but the server than has no rights to the share so it can't return the correct value. I also tried running the service as myself (by changing the username), also in this case the script doesn't work. Does anyone have a solution for this?? ps. sorry for my bad english |