Current time: 11-30-2024, 11:01 AM Hello There, Guest! (LoginRegister)


Post Reply 
domain alias broke www cname
Author Message
Kotty Offline
Junior Member
*

Posts: 167
Joined: Mar 2008
Reputation: 3
Post: #10
RE: domain alias broke www cname
i'm using fcgid and added this to my /etc/apache2/sites-available/00_master.conf

Code:
<VirtualHost IPADDRESS:80>

    ServerAdmin     ispcp@domain.tld
    DocumentRoot    /var/www/ispcp/gui/tools/webmail

    ServerName      webmail.domain.tld
    ServerAlias     webmail.*
    ServerAlias     mail.*

    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_fcgid.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_fcgid.c>
        <Directory /var/www/ispcp/gui/tools/webmail>
            FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/master/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/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/"
            php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
            php_admin_value upload_tmp_dir "/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/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/"
            php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
            php_admin_value upload_tmp_dir "/var/www/ispcp/gui/phptmp/"
        </Directory>
    </IfModule>

</VirtualHost>
11-19-2008 11:18 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
domain alias broke www cname - lschafroth - 11-13-2008, 11:38 AM
RE: domain alias broke www cname - BeNe - 11-14-2008, 05:03 PM
RE: domain alias broke www cname - BeNe - 11-16-2008, 03:49 AM
RE: domain alias broke www cname - Kotty - 11-18-2008, 06:31 PM
RE: domain alias broke www cname - Kotty - 11-19-2008 11:18 PM
RE: domain alias broke www cname - coper - 12-12-2008, 01:41 PM

Forum Jump:


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