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


Post Reply 
Newbie Q: Is ispCP Omega the right tool for me?
Author Message
motokochan Offline
Member
***

Posts: 274
Joined: Jul 2008
Reputation: 1
Post: #14
RE: Newbie Q: Is ispCP Omega the right tool for me?
(12-18-2009 08:30 AM)pete Wrote:  I did restart apache2. I was a bit puzzled that everyone recommends to restart it by typing "apache2 restart" which didn't work for me (and instead gave me a list of command options which suggested I use "apache -k restart", but this didn't work either).

On Debian and Debian-derived distros, it's "apache2ctl". Most others simply use "apachectl".


(12-18-2009 08:30 AM)pete Wrote:  Apart from changing the DNS template as the guide recommends, here is what I planted in the file /etc/ispcp/apache/working/00_master.conf (using the correct IP instead of 1.2.3.4):

Code:
<VirtualHost 1.2.3.4:80>
        ServerAdmin     pete@kapiti.co.nz
        DocumentRoot    /var/www/ispcp/gui/tools/webmail
        ServerName      admin.serifos.elegancenz.co.nz
        ServerAlias     webmail.*
        ErrorLog        /var/log/apache2/users/webmail-error.log
        TransferLog     /var/log/apache2/users/webmail-access.log
        CustomLog       /var/log/apache2/webmail-traf.log traff
        CustomLog       /var/log/apache2/webmail-combined.log combined

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

        <Directory /var/www/ispcp/gui/tools/webmail>
                Options -Indexes Includes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>

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

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

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

</VirtualHost>

Where am I screwing things up now?

While that is the right place to make sure your changes aren't overwritten, you might not have had it added to the Apache running copy.

Make sure that's also present in the Apache copy of the file.
12-18-2009 10:01 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Newbie Q: Is ispCP Omega the right tool for me? - motokochan - 12-18-2009 10:01 AM

Forum Jump:


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