Submitted by raytracy on Fri, 09/25/2009 - 03:32
Procedure:
The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed.
I login the Centos box, running suexec -V and shown the following:
-D AP_DOC_ROOT="/var/www"
-D AP_GID_MIN=100
-D AP_HTTPD_USER="apache"
-D AP_LOG_EXEC="/var/log/httpd/suexec.log"
-D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D AP_UID_MIN=500
-D AP_USERDIR_SUFFIX="public_html"
The Centos Apache package version is:
httpd.x86_64 2.2.3-22.el5.centos.2
How can I continue to pass the configuration checking?
Status:
Closed (fixed)
Comments
Submitted by andreychek on Fri, 09/25/2009 - 08:38 Comment #1
Howdy -- it doesn't sound like things are installed correctly.
Are you in a position where you can start over?
Ideally, what you'd do is run the install.sh script as the first thing you do on the fresh OS.
At that point, your procedure would be:
Install CentOS
Download and run the install.sh
Use your working system :-)
Submitted by raytracy on Fri, 09/25/2009 - 12:27 Comment #2
I have passed the configuration check by installed following special compiled packages from Virtualmin repository:
http://software.virtualmin.com/gpl/centos/5/x86_64/httpd-2.2.3-22.el5.1v... http://software.virtualmin.com/gpl/centos/5/x86_64/mod_ssl-2.2.3-22.el5.... http://software.virtualmin.com/gpl/centos/5/x86_64/httpd-manual-2.2.3-22...
The problem has been solved.
Submitted by raytracy on Fri, 09/25/2009 - 12:28 Comment #3