httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] please help "Internal Server Error"
Date Wed, 20 Nov 2002 16:38:12 GMT
Check your shebang line (the first line of your CGI program). It should
be something like:

#!C:\perl.exe

(guessing - for unix it's like #!/usr/bin/perl)

Also, try running the program from a shell.

>-----Original Message-----
>From: Ali Nasseh [mailto:a_nasseh@yahoo.com]
>Sent: Mittwoch, 20. November 2002 17:28
>To: users@httpd.apache.org
>Subject: [users@httpd] please help "Internal Server Error"
>
>
>hi,
>
>I created an html form, ship.html. it's so simple with
>a few test fields and this line:
><form action="/cgi-bin/confirmform.cgi" ...other
>attributes here...>
>
>The "confirmform.cgi" is a perl program which process
>the form. 
>I have "ActiveState Perl 5.6" installed on my
>computer. I can run the desktop programs 
>with .cgi extension( it doesn't matter ).
>I, too, have recently installed the "Apache 2.0.43" on
>d:\apache2 from my computer that it's name is 
>
>"myserver", so I can see my "apache server" starts and
>shows it's face when I use 
>the address "http://myserver:80/" or even
>"http://myserver".
>There is NO conflict in port setting with other
>servers, like TomCat, on mymachine. But,
>when I try to submit the "ship.html" form, which
>refers to "confirmform.cgi" program for 
>further processing, the "Internal Server Error" shows
>itself on my browser and the error.txt 
>file on "d:\apache\logs" sets to the message follows:
> 
>===============================================================
>==============================
>[Thu Nov 21 19:00:19 2002] [error] [client 127.0.0.1]
>(720003)The system cannot find the path 
>
>specified.  : couldn't create child process: 720003:
>confirmform.cgi, referer: 
>
>http://myserver/ship.html
>[Thu Nov 21 19:00:20 2002] [error] [client 127.0.0.1]
>(720003)The system cannot find the path 
>
>specified.  : couldn't spawn child process:
>D:/apache2/cgi-bin/confirmform.cgi, referer: 
>
>http://myserver/ship.html
>===============================================================
>==============================
>
>please let me know guys, what's wront with that.
>
>thank you
>-- a.nasseh  <a_nasseh@yahoo.com>
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Web Hosting - Let the expert host your site
>http://webhosting.yahoo.com
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message