Hello,
I have a homeserver, which has apache 2.0.54 as webserver. I've installed fastcgi and compiled php5 to run as FastCGI.
I've tried to get fastcgi use suexec wrapper mechanism. It does work, but only on my primary web-address (
www.example.com).
My vhosts are set so that /www/example.com is docroot for the primary address, and /www/vhost1.example.com is for vhost1 /www/vhost2.example.com for vhost2 etc.
Because I want FastCGI to use suexec, I used this howto:
http://www.howtoforge.com/forums/showthread.php?t=4606
and complied php and suexec (I didn't edit suexec.c, because I want suexec to check file owner).
But there's a problem on suexec compile, when I do "./suexec -V" after "make suexec" it says:
Quote:
-D AP_DOC_ROOT="/var/www"
-D AP_GID_MIN=100
-D AP_HTTPD_USER="www-data"
-D AP_LOG_EXEC="/var/log/apache2/suexec.log"
-D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D AP_UID_MIN=100
-D AP_USERDIR_SUFFIX="public_html"
|
even if I modified suexec.h like:
#define AP_DOC_ROOT DEFAULT_EXP_HTDOCSDIR
replaced with
#define AP_DOC_ROOT "/www"
before "make suexec". I even tried to edit ap_config_layout.h so that #define DEFAULT_EXP_HTDOCSDIR "/www"
#define DEFAULT_EXP_HTDOCSDIR "/www"
but it didn't help. After make it still says "-D AP_DOC_ROOT="/var/www""
The reason why my primary domain works is (or I think it is...) that I have symlinked /var/www to /www/example.com like this:
Quote:
server:/var# ls -l www
lrwxrwxrwx 1 root root 17 2006-09-09 22:26 www -> /www/example.com
|
Does anyone know why settings from suexec.h won't apply?
ps. sorry about my bad english, I tried to make it understandable
Recent comments
4 hours 11 min ago
13 hours 39 min ago
14 hours 29 min ago
18 hours 2 min ago
22 hours 26 min ago
22 hours 48 min ago
1 day 58 min ago
1 day 10 hours ago
1 day 15 hours ago
1 day 17 hours ago