Current time: 08-07-2025, 11:48 PM Hello There, Guest! (LoginRegister)


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

Posts: 14
Joined: Dec 2009
Reputation: 0
Post: #13
RE: Newbie Q: Is ispCP Omega the right tool for me?
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).

The way I got this working (I believe) was:

Code:
root@serifos:/# service apache2 restart
* Restarting web server apache2                                                 ... waiting                                                             [ OK ]
root@serifos:/# root@serifos:/# service apache2 restart

However, after doing this the url http://webmail.elegancenz.co.nz simply gets me to the normal website rather than webmail.

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?
12-18-2009 08:30 AM
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? - pete - 12-18-2009 08:30 AM

Forum Jump:


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