Hi,

I installed ActivePerl build 620 running on a NT4 server running IIS4. It
seemed to install fine, and I am able to execute Perl at the command line.
But I cannot seem to get Perl to run from the browser, and I keep running
into the 403.1 Permissions error, which says that I don't have permission
to access the CGI or ISAPI script which I am calling from the browser's
command line.

Here are the steps that I followed:
1. I created a folder called cgi-bin within the folder where we host our
site in NT Explorer.
2. I set the Sharing permissions on the folder to "Full Control" for
"Everyone."
3. I set the Web Sharing to "Share As: cgi-bin".
4. In the Security tab, I set Administrator permissions to "Full Control",
and everyone else's permissions to "Read", which is (RX)(RX).
5. I started up MMC (Management Console), and created a new virtual
directory called "cgi-bin", mapping the physical location to the location
where I created the cgi-bin folder in step 1. 
6. I check the Properties of the virtual directory; in the Virt. Directory
tab in Properties, the access is set/checked on Read; the permissions is
set/checked on "Execute (script)".
7. I create a new file called "hello.pl" which looks like this:

#!perl

print "Content-Type: text/html\n\n";
print "Hello, world! Perl works from the web!";

8. I save the file in the cgi-bin folder.
9. I start my web browser and try to access the script from the browser's
command line
10. I get the 403.1 permissions/access Error.

I have checked the App Mappings for the entire site and and they seem to be
correct:
Path: d:\Perl\bin\Perl.exe %s %s
Script Engine is OFF
Check that File Exists is ON

I'm new to NT and I can't seem to figure out what I'm doing wrong. Any help
is appreciated.

Thanks,

Peter
[EMAIL PROTECTED]

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to