centOS 5.0 and Apache installation with Suexec setting
am 09.06.2007 22:23:07 von kwanHello guru,
I tried to figure out what the problem relate to my Apache
configuration for the VirtualHost, inside VirtualHost, it is a cgi-
script directory that will be used to run cgi script that created in
Perl/CGI. Everything seems working without the Suexec, but when I
install CentOS 5.0 (choose for SSL during the installation procedure),
the browser complaints about the 500 Internal Server Error, in the
error_log file contains
Permission denied exec of "/usr/home/www_root/support/public_html/cgi-
bin/test1.cgi" failed
Premature and of script headers: test1.cgi
NameVirtualHost 192.168.1.1
# it seems to create error, but I think it is how the suexec is setup
Group webgroup
User webuser
ServerName www.support.com
ServerAdmin support@localhost.com
DocumentRoot "/usr/home/www_root/support/public_html"
DirectoryIndex index.html default.html
ScriptAlias /cgi-bin/ "/usr/home/www_root/support/public_html/cgi-
bin/"
Options ExecCGI
AddHandler cgi-script .cgi .pl
chown webuser:webgroup /usr/home/www_root/support/public_html/cgi-bin
chmod 4711 /usr/home/www_root/support/public_html/cgi-bin
I get the problem nearly a week, but still can't solve, I tried the
example online, none of them are working:(