Current time: 11-26-2024, 01:41 PM Hello There, Guest! (LoginRegister)


Post Reply 
suexec apparently not working
Author Message
bpratt Offline
Junior Member
*

Posts: 71
Joined: Oct 2007
Reputation: 0
Post: #3
RE: suexec apparently not working
pasichnyk Wrote:You might want to look at upgrading to a recent nightly build, as the current trunk has a ton of bugs resolved as compared to RC2c. If this isn't an option, attach the domain's section from your ispcp.conf file (from apache conf directory), and obscure the ip/domain. Myself or someone else can point you in the right direction for getting up and running with suexec for user domains.

I'm a little bit unsure about upgrading to a nightly build at the moment, and was hoping to have seen a RC3 come out by now with a upgrade script. Smile

Okay, here's the specific section of my ispcp.conf :-

Code:
# httpd [lovetheloganvalley.org.au] dmn entry BEGIN.
<VirtualHost 203.55.xxx.yy:80>

    <IfModule mod_fastcgi.c>
        SuexecUserGroup vu2045 vu2045
    </IfModule>

    ServerAdmin     root@lovetheloganvalley.org.au
    DocumentRoot    /var/www/virtual/lovetheloganvalley.org.au/htdocs

    ServerName      lovetheloganvalley.org.au
    ServerAlias     www.lovetheloganvalley.org.au lovetheloganvalley.org.au *.lovetheloganvalley.org.au

    ErrorLog        /var/log/apache2/users/lovetheloganvalley.org.au-error.log
    TransferLog     /var/log/apache2/users/lovetheloganvalley.org.au-access.log

    CustomLog       /var/log/apache2/lovetheloganvalley.org.au-traf.log traff
    CustomLog       /var/log/apache2/lovetheloganvalley.org.au-combined.log combined

    Alias /errors   /var/www/virtual/lovetheloganvalley.org.au/errors/

    ErrorDocument 401 /errors/401/index.php
    ErrorDocument 403 /errors/403/index.php
    ErrorDocument 404 /errors/404/index.php
    ErrorDocument 500 /errors/500/index.php

    Redirect /stats http://lovetheloganvalley.org.au/awstats/awstats.pl
    Redirect /ispcp http://virtual.overflow.net.au

    # httpd dmn entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/lovetheloganvalley.org.au/cgi-bin/
    <Directory /var/www/virtual/lovetheloganvalley.org.au/cgi-bin>
        AllowOverride None
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd dmn entry cgi support END.

    <IfModule mod_fastcgi.c>
        ScriptAlias /php4/ /var/www/fcgi/lovetheloganvalley.org.au/
        <Directory "/var/www/fcgi/lovetheloganvalley.org.au">
            AllowOverride None
            Options +ExecCGI -MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>

    <IfModule mod_php4.c>
        <Directory /var/www/ispcp/gui>
            php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/proc/:/var/www/virtual/:/bin:/sbin:/usr/bin:/usr/
            php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
        </Directory>
    </IfModule>

    # httpd dmn entry PHP2 support BEGIN.
    <IfModule mod_php4.c>
        php_admin_value open_basedir "/var/www/virtual/lovetheloganvalley.org.au:/var/www/virtual/lovetheloganvalley.org.au/
        php_admin_value upload_tmp_dir "/var/www/virtual/lovetheloganvalley.org.au/phptmp"
        php_admin_value session.save_path "/var/www/virtual/lovetheloganvalley.org.au/phptmp"
        php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2045 -t -i'
    </IfModule>
    # httpd dmn entry PHP2 support END.

    <Directory /var/www/virtual/lovetheloganvalley.org.au/htdocs>
        # httpd dmn entry PHP support BEGIN.
        # httpd dmn entry PHP support END.
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>
# httpd [lovetheloganvalley.org.au] dmn entry END.


Thanks for your help.
11-21-2007 04:26 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
suexec apparently not working - bpratt - 11-21-2007, 03:42 PM
RE: suexec apparently not working - bpratt - 11-21-2007 04:26 PM
RE: suexec apparently not working - bpratt - 11-21-2007, 05:05 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)