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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuring Apache for Perl

Status
Not open for further replies.

curvv

IS-IT--Management
Joined
Jan 11, 2001
Messages
103
Location
ZA
Hi,

I'm using Apache on Win2k.

I followed the manual to configure httpd.conf to use perl but I get the 'save file to disk' box when running a cgi script.

Please could anyone help me set this up properly?

thanx ######## CtN ########
 
This question has been answered dozens of times.

Here is your problem, I think:

In your shebang line, you either don't have one, or didn't put the right one.

It should look something like this for win2k machines:

#!C:/perl/bin/perl

Where you put the path to the perl interpreter.
Try that and tell me what happens.

Hope this helps.

-Vic vic cherubini
krs-one@cnunited.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash
====
 
Could it perhaps be because I changed the port to 81?

I'm testing it on a machine running iis, so I had to change the port for apache to 81.

I'm not sure if this might have any impact on perl.

??

thanx
######## CtN ########
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top