About my setting :

[EMAIL PROTECTED] xxxxx]$ ls -l
total 8
drwxr-xr-x    7 xxxxx  xxxxx       4096 Jun 20 22:38 public_html
...
[EMAIL PROTECTED] xxxxx]$

[EMAIL PROTECTED] public_html]$ ls -l
total 28
drwxr-xr-x    2 xxxxx    xxxxx       4096 Jun 20 22:54 cgi-bin
...
[EMAIL PROTECTED] public_html]$

[EMAIL PROTECTED] cgi-bin]$ ls -l
total 32
-rwxr-xr-x    1 xxxxx   xxxxx       3525 May 28 22:00 testcgi.cgi
...
[EMAIL PROTECTED] cgi-bin]$

So, how can I reset the permissions to testcgi.cgi and all directories leading up
to it ?

Thank for your help !


Jonathan Bartlett wrote:

> Please provide permissions to testcgi.cgi and all directories leading up
> to it.
>
> Thanks,
>
> Jon
>
> On Fri, 20 Jun 2003 [EMAIL PROTECTED] wrote:
>
> > Just test again :
> >
> > [EMAIL PROTECTED] public_html]$ ./testcgi.cgi
> > Content-type: text/html
> >
> >
> > <html>
> > <body>
> > [EMAIL PROTECTED] public_html]$
> >
> > But http://www.mydomain_name.com.mo/~xxxxx/testcgi.cgi :
> >
> > Internal Server Error
> > The server encountered an internal error or misconfiguration and was unable
> > to complete your request.
> > Please contact the server administrator, [no address given] 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.
> >
> > Log file of Web Server :
> >
> > [Fri Jun 20 22:41:16 2003] [error] (13)Permission denied: exec of
> > /home/xxxxx/public_html/testcgi.cgi failed
> > [Fri Jun 20 22:41:18 2003] [error] [client 202.175.34.61] Premature end of
> > script headers: /home/xxxxx/public_html/testcgi.cgi
> >
> > So, can you help me more ?
> >
> > Thanks.
> >
> > Jonathan Bartlett wrote:
> >
> > > > I just do the test :
> > > >
> > > > [EMAIL PROTECTED] public_html]$ perl ./textcgi
> > >
> > > That is not the correct test.  The test is
> > >
> > >  [EMAIL PROTECTED] public_html]$ ./textcgi
> > >
> > > However, the file name needs to be text.cgi not textcgi.
> > >
> > > Jon
> > >
> > > > 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
> > > >
> > >
> > > --
> > > redhat-list mailing list
> > > unsubscribe mailto:[EMAIL PROTECTED]
> > > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:[EMAIL PROTECTED]
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list



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

Reply via email to