DirectoryIndex problem Centos 6.5 ISPconfig 3

Discussion in 'General' started by winsbury, Dec 9, 2014.

  1. winsbury

    winsbury Member

    Having a problem with index file names on hosts - currently only index.html gets automatically served up when I create a new domain. Ive added site>options>Apache Directives:"DirectoryIndex index.htm" to the affected domain from the admin panel which fixes it but it seems odd to me that all the various incarnations of the website index files are not automatically included in a default location rather than having to do this for each site manually.

    This is a fresh install and I'm a complete newbie to ISPConfig so its quite possible Ive missed something obvious during the install, but I cant find anything in the manual or the 'perfect server' instructions that seems to explain this.

    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    IP-address(es) (as per ifconfig): ***.***.***.***
    [INFO] ISPConfig is installed.

    ##### ISPCONFIG #####
    ISPConfig version is 3.0.5.4p5


    ##### VERSION CHECK #####

    [INFO] php (cli) version is 5.3.3

    ##### PORT CHECK #####

    [WARN] Port 465 (SMTP server SSL) seems NOT to be listening

    ##### MAIL SERVER CHECK #####

    [WARN] I found no "submission" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer port 587 for smtp connections you have to enable this.
    [WARN] I found no "smtps" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer SSL for smtp (not TLS) connections you have to enable this.

    ##### RUNNING SERVER PROCESSES #####

    [INFO] I found the following web server(s):
    Unknown process (httpd) (PID 25550)
    [INFO] I found the following mail server(s):
    Postfix (PID 1398)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 1296)
    [INFO] I found the following imap server(s):
    Dovecot (PID 1296)
    [INFO] I found the following ftp server(s):
    PureFTP (PID 1433)

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [anywhere]:21 (1433/pure-ftpd)
    ***.***.***.***:53 (1068/named)
    [localhost]:53 (1068/named)
    [anywhere]:22 (1133/sshd)
    [anywhere]:25 (1398/master)
    [localhost]:953 (1068/named)
    [anywhere]:993 (1296/dovecot)
    [anywhere]:995 (1296/dovecot)
    [localhost]:10024 (1321/amavisd)
    [localhost]:10025 (1398/master)
    [anywhere]:3306 (1271/mysqld)
    [anywhere]:110 (1296/dovecot)
    [anywhere]:143 (1296/dovecot)
    *:*:*:*::*:8081 (25550/httpd)
    *:*:*:*::*:21 (1433/pure-ftpd)
    *:*:*:*::*:53 (1068/named)
    *:*:*:*::*:22 (1133/sshd)
    *:*:*:*::*:25 (1398/master)
    *:*:*:*::*:953 (1068/named)
    *:*:*:*::*:443 (25550/httpd)
    *:*:*:*::*:993 (1296/dovecot)
    *:*:*:*::*:995 (1296/dovecot)
    *:*:*:*::*:10024 (1321/amavisd)
    [localhost]10 (1296/dovecot)
    [localhost]43 (1296/dovecot)
    *:*:*:*::*:8080 (25550/httpd)
    *:*:*:*::*:80 (25550/httpd)




    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    fail2ban-SSH tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:22

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Chain fail2ban-SSH (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0
     
    Last edited: Dec 9, 2014
  2. winsbury

    winsbury Member

    [Solved]

    Ive now added the following to a Directive Snippet in the admin > System page:

    Code:
    DirectoryIndex index.htm index.php index.txt /cgi-bin/index.cgi /cgi-bin/index.pl
    The snippet can now be easily added/edited to every website created by selecting it on the site>options>Apache Directives.
     

Share This Page