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


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

Posts: 149
Joined: Oct 2008
Reputation: 0
Post: #1
domain alias broke www cname
I did the folllowing guide:

http://www.isp-control.net/documentation...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
11-13-2008 11:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: domain alias broke www cname
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
11-14-2008 05:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
lschafroth Offline
Junior Member
*

Posts: 149
Joined: Oct 2008
Reputation: 0
Post: #3
RE: domain alias broke www cname
(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
11-15-2008 01:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
lschafroth Offline
Junior Member
*

Posts: 149
Joined: Oct 2008
Reputation: 0
Post: #4
RE: domain alias broke www cname
(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
11-15-2008 02:27 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #5
RE: domain alias broke www cname
Check you Apacheconfig about the aliases.
/etc/apache2/site-enabled/

Greez BeNe
11-16-2008 03:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
lschafroth Offline
Junior Member
*

Posts: 149
Joined: Oct 2008
Reputation: 0
Post: #6
RE: domain alias broke www cname
(11-16-2008 03:49 AM)BeNe Wrote:  Check you Apacheconfig about the aliases.
/etc/apache2/site-enabled/

Greez BeNe

Check it for what?
11-17-2008 08:51 AM
Visit this user's website Find all posts by this user Quote this message in a reply
lschafroth Offline
Junior Member
*

Posts: 149
Joined: Oct 2008
Reputation: 0
Post: #7
RE: domain alias broke www cname
(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
11-18-2008 01:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Kotty Offline
Junior Member
*

Posts: 167
Joined: Mar 2008
Reputation: 3
Post: #8
RE: domain alias broke www cname
is your system running now?
11-18-2008 06:31 PM
Find all posts by this user Quote this message in a reply
lschafroth Offline
Junior Member
*

Posts: 149
Joined: Oct 2008
Reputation: 0
Post: #9
RE: domain alias broke www cname
(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
11-19-2008 02:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
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 


Forum Jump:


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