On Fri, 11 Oct 2002 [EMAIL PROTECTED] wrote:

> **********************************************
> [Fri Oct 11 10:40:57 2002] [error] (2)No such file or directory: exec of 
>/var/www/cgi-bin/first.cgi failed
> [Fri Oct 11 10:40:57 2002] [error] [client 192.168.0.13] Premature end of script 
>headers: /var/www/cgi-bin/first.cgi
> **********************************************
> 
> The script which I am using for testing is given below:
> 
> **********************************************
> #!/usr/bin/perl
^^^^^^^^^^^^^^^^^^

does that exist?

>         print "Content-type: text/html\r\n\r\n";
>         print "Hello, World.";
> **********************************************
> 
> The access permissions for the script are: -rwxrwxrwx

change that to -rwxr-xr-x

also make sure your directories have permissions no greater than 755

-- 
After your lover has gone you will still have PEANUT BUTTER!


_______________________________________________
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to