ispCP - Board - Support
Edit webmail.domain.tld guide - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Suggestions (/forum-2.html)
+--- Thread: Edit webmail.domain.tld guide (/thread-867.html)



Edit webmail.domain.tld guide - Z4P - 06-26-2007 10:53 PM

Hey, can someone edit this guide:

http://www.isp-control.net/ispcp/wiki/customer_webtools

To let it work with php5 too?
Code:
# related URL to customers webmail
<VirtualHost <YOUR_IP>:80>

    ServerAdmin     <YOUR_ADMIN_EMAIL>
    DocumentRoot    /var/www/ispcp/gui/tools/webmail

    ServerName      webmail.admin.isp-domain.tld
    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 /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_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>



RE: Edit webmail.domain.tld guide - joximu - 06-26-2007 10:59 PM

Hi Z4P :-)

it's more or less a copy of the original 00_master.conf - only the <VirtualHost...> Part and with some slithly different folder/host names...

I'd recommend: make a copy of 00_master.conf eg. 00_webmail.conf, strip the begining (Aliases) and change the first lines according to the exmple above..

Hope this works... (reload apache...)


RE: Edit webmail.domain.tld guide - Z4P - 06-26-2007 11:01 PM

Hey, it works already. That part what posted here above works with php5. Just asking if someone can change it on the wiki since i can't Wink


RE: Edit webmail.domain.tld guide - joximu - 06-26-2007 11:04 PM

aha... :-)