*. site subdomain bug report

Discussion in 'Developers' Forum' started by ispcomm, Feb 20, 2014.

  1. ispcomm

    ispcomm Member

    There is a bug in the '*.' auto subdomain handling of ispconfig.

    it is possible to set up multiple separate sites of the same domain (i.e. site1.domain.com and site2.domain.com).

    Then it's possibile to enable '*.' auto subdomain for both sites.

    this generates a fastcgi handler of the type:

    /var/www/clients/client6/web87/cgi-bin/php5-fcgi-*-80-domain.com

    and and an error of the type:

    WARNING - Reason for Apache restart failure: Syntax error on line 61 of /etc/apache2/sites-enabled/900-domain.com.vhost:
    FastCgiExternalServer: redefinition of previously defined class "/var/www/clients/client6/web93/cgi-bin/php5-fcgi-*-80-domain.com-test.com"

    If something is not clear, I can explain better.

    ispcomm
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats already fixed, just tested it in 3.0.5.4-dev:

    Created a site "site1.domain.tld" with auto subdomain * and andother site "site2.domain.tld" which has also auto subdomain * enabled and there is no dupliacte fcgi handler, neither for php-fcgi nor php-fpm.
     
  3. ispcomm

    ispcomm Member

    good to know.

    thank you.
     

Share This Page