RE: Getting internal server error when I run a simple CGI script
Check your Apache error logs. "More information about this error may be available in the server error log." From: Deepak Mallya [mailto:[EMAIL PROTECTED] Sent: Monday, August 21, 2006 4:42 PMTo: modperl@perl.apache.orgSubject: Getting internal server error when I run a simple CGI script Hi, I am trying to run a simple Perl CGI script and I get the following error..Can anyone help me on this Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. my perl script contains #!/usr/bin/perl print "Content-type: text/html\r\n\r\n";print "HTML\n";print "HEADTITLEHello World!/TITLE/HEAD\n";print "BODY\n";print "H2Hello World!/H2\n";print "/BODY\n";print "/HTML\n"; Thanks Deepak
Re: Getting internal server error when I run a simple CGI script
Deepak Mallya wrote: Hi, I am trying to run a simple Perl CGI script and I get the following error..Can anyone help me on this This isn't really a mod_perl question, but I'm betting its because you need to do chmod 755 file or similiar. Also, make sure that /usr/bin/perl is a valid perl path. -- Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F In all that I've done wrong I know I must have done something right to deserve a hug every morning and butterfly kisses at night. __ ___ ___ __ / |/ /_ __/ __/ __ \/ / / /|_/ / // /\ \/ /_/ / /__ /_/ /_/\_, /___/\___\_\___/ ___/
Re: Getting internal server error when I run a simple CGI script
On Mon, 21 Aug 2006, Deepak Mallya wrote: Hi, I am trying to run a simple Perl CGI script and I get the following error..Can anyone help me on this As others have noted, this isn't a mod_perl problem. Help running cgi scripts is available at http://httpd.apache.org/docs/2.2/howto/cgi.html For Windows, make sure that #!C:/Path/to/your/Perl/bin/perl.exe appears on the first line of your script. -- best regards, Randy