ispCP - Board - Support
problem fallowing howto get webmail.domain.tld pma.domain.tld etc... - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: problem fallowing howto get webmail.domain.tld pma.domain.tld etc... (/thread-6480.html)



problem fallowing howto get webmail.domain.tld pma.domain.tld etc... - yohann - 04-22-2009 03:37 AM

Hello, i encounter a problem fallowing this tuto:

http://www.isp-control.net/documentation/howto/miscellaneous/create_panel.domain.tld_pma.domain.tld_webftp.domain.tld_and_webmail.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>



RE: problem fallowing howto get webmail.domain.tld pma.domain.tld etc... - geeklandhosting.com - 04-22-2009 04:00 PM

Are all of them not working? or just one or the other? Also what is you setup? OS and Version, and ISPCP version?


RE: problem fallowing howto get webmail.domain.tld pma.domain.tld etc... - yohann - 04-22-2009 07:32 PM

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?


RE: problem fallowing howto get webmail.domain.tld pma.domain.tld etc... - kilburn - 04-22-2009 11:30 PM

You need to add a "ServerAlias webmail.*" directive under the "ServerName" one in the 02_webmail.conf file...


RE: problem fallowing howto get webmail.domain.tld pma.domain.tld etc... - yohann - 04-22-2009 11:37 PM

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