Fedora Linux Support Community & Resources Center
  #1  
Old 10th August 2004, 10:19 PM
JonnyRock Offline
Registered User
 
Join Date: Aug 2004
Posts: 1
suexec problems on RH9

ok,

I am trying to suexec stuff in user's home directories for virtualhosts. I am using RH9/apache. ideally I would like everythign to be suexec in all of the user's public_html directories by default. it seems that in order to have suexec at all I have to make the following entrie in the httpd.conf within a VirtualHost directive:

SuexecUserGroup user group

and then I get the followig errors in my suexec logs:

[2004-08-10 16:36:11]: uid: (501/user) gid: (501/501) cmd: classadmin.pl
[2004-08-10 16:36:11]: command not in docroot (/home/user/public_html/cgi/admin/classadmin.pl)

I was under the impression from the doccumentation that having

-D AP_USERDIR_SUFFIX="public_html" set in suexec would enable me to suexec things in users' userdirs.

am I missing something?

# httpd -V
Server version: Apache/2.0.40
Server built: Apr 21 2004 11:49:03
Server's Module Magic Number: 20020628:0
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"

# suexec -V
-D AP_DOC_ROOT="/var/www"
-D AP_GID_MIN=500
-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"
Reply With Quote
Reply

Tags
problems, rh9, suexec

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
suEXEC and php.ini neogranas Servers & Networking 2 13th October 2008 09:26 PM


Current GMT-time: 12:57 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat