Jun 27, 2001 #1 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 ########
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 ########
Jun 27, 2001 #2 vcherubini Programmer Joined May 29, 2000 Messages 527 Location US 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 http://www.cnunited.com==== Knows: Perl, HTML, JavScript, C/C++, PHP, Flash ==== Upvote 0 Downvote
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 http://www.cnunited.com==== Knows: Perl, HTML, JavScript, C/C++, PHP, Flash ====
Jun 28, 2001 Thread starter #3 curvv IS-IT--Management Joined Jan 11, 2001 Messages 103 Location ZA 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 ######## Upvote 0 Downvote
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 ########