The problem is with the script.  Some things to check:

1) is the script executable?
2) Is the first line of the script a path to a valid interpretter
   (e.g. - many people have #!/usr/local/bin/perl, but perl is stored in
           /usr/bin/perl on RH systems)
3) Is the script a DOS or UNIX file?  Type 'file FILENAME' to see.  If
it's DOS, then #2 above is being interpretted impoperly because of the
extra carriage return.
4) Run the program from the command line (cd to the directory and do
./programname) - are there any errors?
5) Look at the Output from #4 - is the FIRST LINE (with no blank lines
preceding it): "Content-Type: text/html"?

If all of these are okay, feel free to email me the script and I'll take a
quick look at it.

Jon

On Fri, 20 Jun 2003 [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 !
>
>
>
> --
> 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