I read a post from someone who needed some help with cgi on NT. I
just ran across this post. Hope it helps a bit.
BTW, I recently installed the Apache server on my NT and running cgi
scripts was a breeze as compared to my experiences with the microsoft
server.
------- Forwarded Message Follows -------
Date sent: Tue, 15 Sep 1998 20:00:38 -0700
To: Rohan Jay <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
From: Jann Linder <[EMAIL PROTECTED]>
Subject: Re: [CGI] Perl on IIS server
give the IUSER_MACHINENAME user permissions on that directory (must have
execute, and read...should have change...and might need delete.
Jann
... At 01:55 PM 9/15/98 , you wrote:
>HI!
>
>I am trying to run a simple perl cgi script on the NT IIS server.
>But I am getting the following error message when I try to call
>it from the browser.
>
>HTTP/1.0 403 Access Forbidden (Read Access Denied - This Virtual Directory
>does not allow objects to be read.)
>
>I do not have read permission set on this directory, but I have set
>the execute permissions. If I set the read permision then I get
>the listing of the perl script, which is not what I want.
>
>I can run this perl script from any where in the server if I
>logon on to the server. That make me to believe that it knows where
>to find perl. I think when I call it through the browse it does not
>know where to get perl and execcute the script.
>
>What I need to do to fix this problem? Following is the perl script:
>
>#!/perl/perl
>
>$myEnvVar = $ENV{"REQUEST_METHOD"};
>
>print "Content-type: text/html\n\n";
>
>print " \n"; > >if($myEnvVar eq "POST") >{ > print "
This was a POST request
\n"; >} >elsif($myEnvVar eq "GET") >{ > print "
This was a GET request
\n"; >} > >print "
\n";
>
-----------------------------------------------------------------
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------