ispCP - Board - Support - VHCS fork

Full Version: Edit webmail.domain.tld guide
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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>
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...)
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
aha... :-)
Reference URL's