Possible reason is that you're not outputting a correct response header. After
#!/usr/bin/perl, your next line should read print "Content-type: text/html\n\n";
Ashish
---
cout<<"Hello World !";
Get FREE Email/Voicemail with 15MB at Lycos Communications at http://comm.lycos.com
--
if its internal server error go and check
/etc/httpd/logs/error_log
if it says prematured script error them check the
content-type or the path as /usr/bin/perl. or what i
mean to say is there will be error on ur script . it
generlly occurs due to that.
__
look at the logfile error_log in /var/log/httpd and send out the message
- Original Message -
From: "Sunil Dhaka" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 26, 2000 2:10 PM
Subject: [linux-delhi] perl-cgi
> Can someone tell me why a
Can someone tell me why a correctly coded perl-cgi script give an internal
server error on the apache server whereas a shell script runs correctly.
The settings in the httpd.conf are fine
/usr/bin/perl path is correctly specified
Regards,
Sunil Dhaka
-