httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Question about Apache Web Svr and perl scripting
Date Wed, 11 Jan 2006 23:55:36 GMT
On 1/11/06, sal.talamantez@database-brothers.com
<sal.talamantez@database-brothers.com> wrote:
> Hello All,
>
> I am new to Apache web server scripting, so bear with me.  I am running
> Apache on a Windows XP machine.
>
> I have a perl script being called by the Apache web server.  The perl script
> creates a cmd script file that is called by perl to execute.  The cmd script
> runs fine except for one specific command that is failing.  The failing
> command is a copy command from a mapped Linux Samba drive to a local drive.
> The script does not seem to have to power/permissions to run this command.
>
> I looked at some of the Apache documentation regarding suexec and the power
> (or lack thereof) of cgi perl scripts.  The general explanation was to
> change the permissions for the cgi script using suexec, except that the
> instructions seem to be for a Unix server.  Can anyone tell me how to give a
> perl script enough power to copy to a mapped drive on an Apache Web Server
> in Windows?

You are correct that suexec is not the way to go on windows.  You
should be running the apache service under a user that has the
appropriate permissions.  See:
http://httpd.apache.org/docs/2.2/platform/windows.html#winsvc

Joshua.
Mime
View raw message