Nick Lindsell wrote:

> On Thu, 2003-06-19 at 17:03, [EMAIL PROTECTED] wrote:
> > Dear All,
> >
> > About my Apache Server ( 1.3.27 ) :
> >
> > <IfModule mod_userdir.c>
> >     UserDir public_html
> > </IfModule>
> >
> > <Directory /home/*/public_html>
> >  AllowOverride FileInfo AuthConfig Limit Indexes
> >  Options MultiViews Indexes SymLinksIfOwnerMatch Includes ExecCGI
> >  Order allow,deny
> >  Allow from all
> > </Directory>
> >
> > Log file ( error messages ) :
> >
> > [Wed Jun 18 19:54:38 2003] [error] (13)Permission denied: exec of
> > /home/xxx/public_html/cgi-bin/xxx.cgi failed
> > [Wed Jun 18 19:54:39 2003] [error] [client 202.175.34.78] Premature end
> > of script headers: /home/xxx/public_html/cgi-bin/xxx.cgi
> >
> > Thank for your help !
>
> Can you run the script from a shell?
> "cd /home/xxx/public_html/cgi-bin ; ./xxx.cgi"
>
> If so does your cgi script output correct http headers
> when it starts?
>
> #!/usr/bin/perl
> print <<EOF;
> Content-type: text/html\n\n
> <HTML>
> <body>
> EOF

I just do the test :

[EMAIL PROTECTED] public_html]$ perl ./textcgi
Content-type: text/html


<html>
<body>
[EMAIL PROTECTED] public_html]$

But http://www.mydomain_name.com.mo/~xxxxx/textcgi :

#!/usr/bin/perl print< EOF

So, can you help me more ?

Thanks.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to