Author Topic: Suexec does not work by default  (Read 8092 times)

0 Members and 1 Guest are viewing this topic.

Offline
*****
Suexec does not work by default
« on: January 27, 2015, 01:06:25 PM »
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.
« Last Edit: January 27, 2015, 01:12:57 PM by russianadmin »
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

Offline
*****
Re: Suexec does not work by default
« Reply #1 on: January 27, 2015, 06:37:59 PM »
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

Offline
*
Re: Suexec does not work by default
« Reply #2 on: February 03, 2015, 08:59:10 PM »
working on that for the new version.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

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


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


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services