ISPConfig shows Apache 2 Test Page powered by CentOS

Discussion in 'Installation/Configuration' started by onastvar, Oct 27, 2009.

  1. onastvar

    onastvar Member

    ISPConfig shows Apache 2 Test Page powered by CentOS on each of my sites, after re-installation of ISPConfig 2. I would like to know what do I have to check to start troubleshooting.
     
  2. onastvar

    onastvar Member

    [Solved] Apache 2 Test Page powered by CentOS

    Replaced httpd.conf (/etc/httpd/conf/httpd.conf) with a back up httpd.conf I had. My httpd.conf didn't have ispconfig section on the bottom of httpd, and also include was missing

    Code:
    ###############ispconfig_log###############
    LogFormat "%v||||%b||||%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
    CustomLog "|/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d" combined_ispconfig
    
    <Directory /var/www/*/web>
        Options +Includes -Indexes
        AllowOverride None
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
        <Files ~ "^\.ht">
        Deny from all
        </Files>
    </Directory>
    
    <Directory /var/www/*/user/*/web>
        Options +Includes -Indexes
        AllowOverride None
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
        <Files ~ "^\.ht">
        Deny from all
        </Files>
    </Directory>
    
    <Directory /var/www/*/cgi-bin>
        Options ExecCGI -Indexes
        AllowOverride None
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
        <Files ~ "^\.ht">
        Deny from all
        </Files>
    </Directory>
    
    Include /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf
     

Share This Page