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


Post Reply 
problem fallowing howto get webmail.domain.tld pma.domain.tld etc...
Author Message
yohann Offline
Junior Member
*

Posts: 15
Joined: Apr 2009
Reputation: 0
Post: #1
Question problem fallowing howto get webmail.domain.tld pma.domain.tld etc...
Hello, i encounter a problem fallowing this tuto:

http://www.isp-control.net/documentation...domain.tld

not a single error message, but all subdomains ftp, webmail, pma and panel links to the panel and i have no way to acceed webmail anymore.

i checked ispcp.conf, to be sure it have been regenerated properly, it looks ok.;
so are 00_master.conf and 02_webmail.conf but it looks like all the subdomain (unless i created them from panel) links to the panel.


thank you for help
PS: here are my config files, tell me if you need more:


Code:
#
# Master Begin
#

<VirtualHost 192.168.0.2:80>
  ServerName inforezo.com
  Redirect / http://panel.inforezo.com
</VirtualHost>

<VirtualHost 192.168.0.2:80>

    ServerAdmin     laurent@inforezo.com
    DocumentRoot    /var/www/ispcp/gui

    ServerName      panel.inforezo.com

    Alias /errors   /var/www/ispcp/gui/errordocs/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

#    Alias /pma      /var/www/ispcp/gui/tools/pma/
#    Alias /webmail  /var/www/ispcp/gui/tools/webmail/
#    Alias /ftp      /var/www/ispcp/gui/tools/filemanager/

    <IfModule suexec_module>
           SuexecUserGroup vu2000 vu2000
    </IfModule>

    <Directory /var/www/ispcp/gui>
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <IfModule mod_fcgid.c>
        <Directory /var/www/ispcp/gui>
            FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <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>
            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>

#
# Master End
#

Code:
<VirtualHost 192.168.0.2:80>

    ServerAdmin     laurent@inforezo.com
    DocumentRoot    /var/www/ispcp/gui/tools/webmail

    ServerName      webmail.inforezo.com

    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 suexec_module>
           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">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <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/tools/webmail/:/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>
04-22-2009 03:37 AM
Visit this user's website Find all posts by this user Quote this message in a reply
geeklandhosting.com Offline
Newbie
*

Posts: 7
Joined: Nov 2008
Reputation: 0
Post: #2
RE: problem fallowing howto get webmail.domain.tld pma.domain.tld etc...
Are all of them not working? or just one or the other? Also what is you setup? OS and Version, and ISPCP version?
04-22-2009 04:00 PM
Find all posts by this user Quote this message in a reply
yohann Offline
Junior Member
*

Posts: 15
Joined: Apr 2009
Reputation: 0
Post: #3
Smile RE: problem fallowing howto get webmail.domain.tld pma.domain.tld etc...
hi, thank you for taking time for my problem Smile
i'm not so sure i understand well what you are asking by all of them...

if you mean all domain: yes, all domains
if you mean all panels: no, i only have this problem with webmail, now, i just can't access webmail.


my setup is the fallowing:
OS: ubuntu 8.04 LTS
ispcp: 1.0.0 stable


edit1:
OK this problem is almost solved!!!
i'm a bit angry, i have passed the last 3 days trying to sovle it changing my apache configuration, and it appear it all comme from my DNS provider!!
i changed webmail into another name (mailweb) and then i works,
it appear that webmail is kind of redirected to my server ip, so i had the same page as if i typed my server ip in my browser: ispcp panel

edit2:
Right, it does work but only with the "base domain" or "host domain" (i don't know how to call it).
all the customer subdomains like webmail.customerdomain.tld links to panel.hostdomain.tld instead of webmail.
any idea to solve this last point?
(This post was last modified: 04-22-2009 10:58 PM by yohann.)
04-22-2009 07:32 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: problem fallowing howto get webmail.domain.tld pma.domain.tld etc...
You need to add a "ServerAlias webmail.*" directive under the "ServerName" one in the 02_webmail.conf file...
(This post was last modified: 04-22-2009 11:30 PM by kilburn.)
04-22-2009 11:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
yohann Offline
Junior Member
*

Posts: 15
Joined: Apr 2009
Reputation: 0
Post: #5
Toungue RE: problem fallowing howto get webmail.domain.tld pma.domain.tld etc...
it seems obvious now that you tell me that Tongue
i've done the change and it worked imediatly!
thank you

ps: i wonder why this isn't specified in the how to, because this seems to be the aim of this howto, unless i didn't understand what the aim was
04-22-2009 11:37 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)