On 9 Sep 2003 14:46:29 -0700,
(Shane
Freeman) wrote:
>I am having a horrible time getting the permissions set correctly
>using ActivePerl and IIS 5.0. Any help would be greatly appreciated!
Your Question is Frequently Asked. Answers to Freqently
Asked Questions are to be found in the perlFAQ documentation
that comes bundled with every distribution of Perl. It can
be browsed and searched using the perldoc program that
also comes with every distribution of Perl. The command
perldoc perldoc for more info. The Activeperl distro also
comes with the docs in HTML format in C:\Perl\html\index.html
perldoc -q 500
"My CGI script runs from the command line but not the browser.
(500 Server Error)
>Can't open perl script "c:\websites\www.mysite.com\cms\test.cgi":
>Permission denied
>Can anybody shed any light on this problem?
The most likely reason is that the IIS webserver runs
as an anonymous user with less rights than a normal
user such as yourself. This is good. You have to
explicitly permit this user (used to be called IUSR_servername)
to read and execute the CGI program.
Further, this question is off-topic in this newsgroup
and should be addressed to a group about web server
configuration or CGI such as:
comp.infosystems.
www.servers.ms-windows
comp.infosystems.
www.authoring.cgi