Suexec does not work by default

Started by Igor S., January 27, 2015, 01:06:25 PM

Previous topic - Next topic

Igor S.

Hello.
First of all, sorry for my english...
Suexec does not work by default , because it was compilled for user "www" (why?) and for docroot "/usr/local/apache/htdocs"

# /usr/local/apache/bin/suexec -V
-D AP_DOC_ROOT="/usr/local/apache/htdocs"
-D AP_GID_MIN=100
-D AP_HTTPD_USER="www"
-D AP_LOG_EXEC="/usr/local/apache/logs/suexec_log"
-D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D AP_UID_MIN=100
-D AP_USERDIR_SUFFIX="public_html"
#

This is really trouble.
CWP version: 0.9.7

P.S. Also SELinux disabled by default, it's not cool.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

Igor S.

I recompilled apache from CWP with next options:

--with-suexec-docroot="/home"
--with-suexec-caller="nobody"
--with-suexec-logfile="/usr/local/apache/logs/suexec_log"

It works good now, for me. CWP is works, CGI scripts is works too.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

Administrator