Код: Выделить всё
ps -aux | grep dd
Код: Выделить всё
LoadModule suexec_module libexec/apache22/mod_suexec.so
Код: Выделить всё
apachectl -M
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
authn_file_module (shared)
authn_dbm_module (shared)
authn_anon_module (shared)
authn_default_module (shared)
authn_alias_module (shared)
authz_host_module (shared)
authz_groupfile_module (shared)
authz_user_module (shared)
authz_dbm_module (shared)
authz_owner_module (shared)
authz_default_module (shared)
auth_basic_module (shared)
auth_digest_module (shared)
file_cache_module (shared)
cache_module (shared)
disk_cache_module (shared)
dumpio_module (shared)
include_module (shared)
filter_module (shared)
charset_lite_module (shared)
deflate_module (shared)
log_config_module (shared)
logio_module (shared)
env_module (shared)
mime_magic_module (shared)
cern_meta_module (shared)
expires_module (shared)
headers_module (shared)
usertrack_module (shared)
unique_id_module (shared)
setenvif_module (shared)
version_module (shared)
ssl_module (shared)
mime_module (shared)
dav_module (shared)
status_module (shared)
autoindex_module (shared)
asis_module (shared)
info_module (shared)
cgi_module (shared)
dav_fs_module (shared)
vhost_alias_module (shared)
negotiation_module (shared)
dir_module (shared)
imagemap_module (shared)
actions_module (shared)
speling_module (shared)
userdir_module (shared)
alias_module (shared)
rewrite_module (shared)
php5_module (shared)
auth_mysql_module (shared)
security2_module (shared)
limitipconn_module (shared)
layout_module (shared)
suexec_module (shared)
Syntax OK
Код: Выделить всё
pw useradd ddd2 -c "UserDomain = domen.ua" -L webuser -s /bin/csh -d /usr/local/www/ho/ddd2
Код: Выделить всё
pw groupmod hostingg -m ddd2
Код: Выделить всё
pw groupmod hostingg -m www
Код: Выделить всё
SuexecUserGroup ddd hostingg
что еще показать Apache 2.2.6
подскжаите как сделать чтобы работало?
скажите пожалуйста что я забыл сделать чтобы не переустанавливать по 100 раз?
ставил из портов...выбрал при установке SUEXEC посомтрел makefile там не ппнял что нужно сделать
возможно нужно без портов собрать? указать явно компилятору с каками опциями собирать?
UPD
вместо того пользователя скрипты работаеют от root'a!! блин
в логах ничего кроме одной строки, что suexec включен и работает...
# apache2
.if ${.CURDIR} == ${PORTSDIR}/www/apache22
Код: Выделить всё
WITH_SSL=YES
WITH_SUEXEC=YES
WITH_THREADS=YES
SUEXEC_DOCROOT="/usr/home"
UEXEC_USERDIR="/usr/home/*/cgi-bin"
SUEXEC_LOGFILE="/var/log/httpd/suexec.log"
PATCH_SUEXEC=YES
SETUID_SUEXEC=YES
.endif
в чем смысл UEXEC_USERDIR и SUEXEC_DOCROOT?? мну нужно чтобы было видно если кто-то будет грузить сервер, оставить эти опции так как есть?
если пхп будет в "/usr/home/dd2" или "/usr/home/dd2/www" там будет работает suexec?
Код: Выделить всё
ServerRoot "/usr/local"
ну ИМХО это все переставлять гониво, если не знать точно что в это проблема? моэет кто-то подскажет