ispCP - Board - Support
domain alias broke www cname - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: domain alias broke www cname (/thread-4914.html)

Pages: 1 2


domain alias broke www cname - lschafroth - 11-13-2008 11:38 AM

I did the folllowing guide:

http://www.isp-control.net/documentation/howto/miscellaneous/create_panel.domain.tld_pma.domain.tld_webftp.domain.tld_and_webmail.domain.tld

Now when I try to go to my host domain as before, like http://www.mydomain.com I get page not found.

before the changes it worked. I was under the assumption the howto would allow my domain users to do the same but when they type webmail.theirdomain.com it says page not found and does not redirect them.

Lannie


RE: domain alias broke www cname - BeNe - 11-14-2008 05:03 PM

Quote:would allow my domain users to do the same but when they type webmail.theirdomain.com it says page not found and does not redirect them
.
Right!
Logs ? Config ?

Greez BeNe


RE: domain alias broke www cname - lschafroth - 11-15-2008 01:03 AM

(11-14-2008 05:03 PM)BeNe Wrote:  
Quote:would allow my domain users to do the same but when they type webmail.theirdomain.com it says page not found and does not redirect them
.
Right!
Logs ? Config ?

Greez BeNe

Logs? config? what are you asking????

which log, which config?

Lannie


RE: domain alias broke www cname - lschafroth - 11-15-2008 02:27 AM

(11-14-2008 05:03 PM)BeNe Wrote:  
Quote:would allow my domain users to do the same but when they type webmail.theirdomain.com it says page not found and does not redirect them
.
Right!
Logs ? Config ?

Greez BeNe

How do I remove this hack? I know I can put the config files back, but what was changed in mysql that I would need to put back?

The /pma, /webmail and etc worked fine before, for all domains. this hack killed that functionality.

Lannie


RE: domain alias broke www cname - BeNe - 11-16-2008 03:49 AM

Check you Apacheconfig about the aliases.
/etc/apache2/site-enabled/

Greez BeNe


RE: domain alias broke www cname - lschafroth - 11-17-2008 08:51 AM

(11-16-2008 03:49 AM)BeNe Wrote:  Check you Apacheconfig about the aliases.
/etc/apache2/site-enabled/

Greez BeNe

Check it for what?


RE: domain alias broke www cname - lschafroth - 11-18-2008 01:23 AM

(11-16-2008 03:49 AM)BeNe Wrote:  Check you Apacheconfig about the aliases.
/etc/apache2/site-enabled/

Greez BeNe

I removed the modification and all is back to normal again.

Lannie


RE: domain alias broke www cname - Kotty - 11-18-2008 06:31 PM

is your system running now?


RE: domain alias broke www cname - lschafroth - 11-19-2008 02:14 PM

(11-18-2008 06:31 PM)Kotty Wrote:  is your system running now?

Yes, it works fine. I would still like my domains for each customer to use webmail.their domain.com and etc.

It's working for now.

Lannie


RE: domain alias broke www cname - Kotty - 11-19-2008 11:18 PM

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>