Computing.Net > Forums > Windows NT > using CGI scripts with IIS 3.0?, Perl works fine

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

using CGI scripts with IIS 3.0?, Perl works fine

Reply to Message Icon

Name: De Carver
Date: June 5, 2000 at 20:18:52 Pacific
Comment:

Hi there
I have loaded perl 5.2 onto my IIS 3.0 server NT4 SP4
My perls scripts work fine but my CGIs dont work even tho the are in /scripts directory

I have used regedit to
HKLM/System/CCSet/...w3SVC/parameters/
and file map
.cgi as a dword to point to c:\perl\lib\perl.exe %s %s

I can execute a perl script by typing in Http://my ip addy/scripts/helloWorld.pl and it executes
but when I type in Http://my ip addy/scripts/helloWorld.cgi i get this error message

HTTP/1.0 403 Access Forbidden (Read Access Denied - This Virtual Directory does not allow objects to be read.

My /scripts dir is set to (NTFS)
Admin Full Control
System Full Control
I_usr Change

in IIS server manager /Scripts is set to read and execute ( but i think it should just be execute; I have both options selected for trouble shooting reasons but any advice would be great)

I have read I have to add
print "HTTP/1.0 200 OK\n";
print "Content-type: text/html\n\n";

to the top of the *.cgi Its at the very top yes?

Any suggestions?

PS there is not much RAM left



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: using CGI scripts with IIS 3.0?, Perl works fine

IIS 3.0 Srv Ext 2000 SP5 <-- My ASP Wont run properly www.computing.net/answers/windows-nt/iis-30-srv-ext-2000-sp5-my-asp-wont-run-properly/3735.html

Upgrade IIS 3.0 to IIS 4.0/5.0 www.computing.net/answers/windows-nt/upgrade-iis-30-to-iis-4050/16132.html

IIS 3.0 Applications www.computing.net/answers/windows-nt/iis-30-applications/12086.html