httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cody Harris <h...@ns.sympatico.ca>
Subject Re: [users@httpd] CGI Error
Date Tue, 06 May 2003 22:26:10 GMT
Oops, there's more in the error_log:

[Tue May  6 19:25:08 2003] [error] (13)Permission denied: exec of 
/home/nsla/pub
lic_html/cgi-bin/test.pl failed
[Tue May  6 19:25:11 2003] [error] [client 192.168.0.1] Premature end of script
headers: /home/nsla/public_html/cgi-bin/test.pl


At 07:21 PM 5/6/2003 -0300, you wrote:
>[root@vectec cgi-bin]# ./test.pl
>Content-Type: text/html; charset=ISO-8859-1
>
><?xml version="1.0" encoding="utf-8"?>
><!DOCTYPE html
>         PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
>         "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
>lang="en-US">
>[root@vectec cgi-bin]#
>
>But internal error from Apache.
>
>And for the guy that wanted me to do all that stuff with dirs, you've got
>me wondering what you mean.
>
>At 12:17 AM 5/7/2003 +0200, you wrote:
> >#!/usr/bin/perl
> >
> >use CGI;
> >
> >$q = new CGI;                        # create new CGI object
> >print $q->header,                    # create the HTTP header
> >       $q->start_html(''),            # start the HTML
> >       $q->end_html;                  # end the HTML
> >exit;
>
>
>
>---------------------------------------------------------------------
>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



---------------------------------------------------------------------
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