Sinter has asked for the wisdom of the Perl Monks concerning the following question:
Hello there,
I am having a problem with cgi scripts being run by Apache under Windows.
The script I am working on needs to be able to access a network directory, but when it is run by Apache, the script is not given sufficent permissions to do this. I have looked into a few solutions, including plugins such as SuExec and sbox, but these solutions seem to be for *nix servers only.
Is there anything I can do to change the runtime permissions of my cgi scripts on Apache under Windows?
Thanks,
-Jeff
Comment on Changing CGI permissions on Apache for Windows
I'm assuming you're running on a windows NT/2000/XP machine, and that apache (or maybe just the CGI script) is running as another user than you are. you can do 2 things:
run apache as a user with more permissions.
change the permissions of the networked directory, to allow the apache user to access it.
I'd go for option 2.
How you should do this is up to you, I don't know enough about windows :-)