Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why cant i run Cgi-scripts? (Desperite)

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi, i am really desperite!

I've tried almost everything but i cant run Perl script and CGI scripts on my Apache server on windows2k server.
I have Perl installed.
My errorlog says:
[Tue Mar 06 12:17:59 2001] [error] [client 192.168.0.9] Options ExecCGI is off in this directory: d:/apache group/apache/cgi-bin/printpage.pl

Somebody please help me!
 
You dont have the ExecCGI options turned on for that directory.

In your httpd.conf you will need to put directive
Options ExecCGI
in the directory directive for your cgi-bin folder.

Example:
<Directory /web/cgifolder>
Options Indexes ExeCGI
</Directory>

 
Hey thanks for your help, but now i am getting an error like this: Couldnt spawn Child process (no such file or directory.

(this is about a perl file)

My addhandler says; Addhandler cgi-script .pl

Anyways, thanks for your help.. i am a little bit further now, but not completely there yet :)

(sorry)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top