Current time: 11-18-2024, 04:42 PM Hello There, Guest! (LoginRegister)


Post Reply 
Edit webmail.domain.tld guide
Author Message
Z4P Offline
Junior Member
*

Posts: 62
Joined: May 2007
Reputation: 0
Post: #1
Edit webmail.domain.tld guide
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>
(This post was last modified: 06-26-2007 10:54 PM by Z4P.)
06-26-2007 10:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Edit webmail.domain.tld guide
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...)
06-26-2007 10:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Z4P Offline
Junior Member
*

Posts: 62
Joined: May 2007
Reputation: 0
Post: #3
RE: Edit webmail.domain.tld guide
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
06-26-2007 11:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Edit webmail.domain.tld guide
aha... :-)
06-26-2007 11:04 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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