index.html make eror

Discussion in 'Installation/Configuration' started by planet_fox, Feb 10, 2007.

  1. planet_fox

    planet_fox Member HowtoForge Supporter

    Sorry nothing only this error


    Apache2 reinstall
     
  2. falko

    falko Super Moderator ISPConfig Developer

    This isn't related to web19.
    I have no clue what's wrong. :confused:
     
  3. planet_fox

    planet_fox Member HowtoForge Supporter

    Its in all webs when is only a index.hml
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's your Apache's configuration directory? /etc/apache2 or /etc/httpd or similar? Please go to that directory and run
    Code:
    grep -Ri DirectoryIndex *
    What's the output?
     
  5. planet_fox

    planet_fox Member HowtoForge Supporter

    Here is Output

    Code:
    vhosts/Vhosts_ispconfig.conf_03-03-07_17-17-23:DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
    
     
  6. falko

    falko Super Moderator ISPConfig Developer

  7. planet_fox

    planet_fox Member HowtoForge Supporter

    I have change and the html error is no solve.

    When I remove Apache and do New Install what musst I change in config later for ispconfig when I new install have from apache ?

    Code:
    apt-get --purge remove apache2
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following packages will be REMOVED:
      apache2*
    0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
    Need to get 0B of archives.
    
    Apache remove then modules ?
     
    Last edited: Mar 10, 2007
  8. falko

    falko Super Moderator ISPConfig Developer

    Don't remove Apache! :eek:

    What about my previous post?
     
  9. planet_fox

    planet_fox Member HowtoForge Supporter

    http -t

    Code:
    server:/etc/apache2# httpd -t
    Syntax OK
    
     
  10. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /path/to/directory_where_Vhosts_ispconfig.conf_is
    ?
     
  11. planet_fox

    planet_fox Member HowtoForge Supporter

    here

    Code:
    server:/home/fox# ls -la /etc/apache2/vhosts/
    total 108
    drwxr-xr-x   2 root root  8192 Mar 12 17:02 .
    drwxr-xr-x  10 root root  4096 Mar 12 02:49 ..
    -rw-r--r--   1 root root 91603 Mar 12 13:51 Vhosts_ispconfig.conf
    
     
  12. falko

    falko Super Moderator ISPConfig Developer

    Why is there no Vhosts_ispconfig.conf~? Did you delete it?
     
  13. planet_fox

    planet_fox Member HowtoForge Supporter

    Code:
    drwxr-xr-x   2 root root  8192 Mar 12 21:20 .
    drwxr-xr-x  10 root root  4096 Mar 12 02:49 ..
    -rw-r--r--   1 root root 91726 Mar 13 23:52 Vhosts_ispconfig.conf
    -rw-r--r--   1 root root 91726 Mar 13 23:52 Vhosts_ispconfig.conf~
    
     
  14. planet_fox

    planet_fox Member HowtoForge Supporter

    Questions I have Apache2.054 installed

    and I can't find this module in /mods/mods-enable or avalaible

    autoindex.load

    or is autoindex.load only in the future packages avalaible ?
     
  15. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /etc/apache2/mods-available
    ?

    mod_autindex should be there, unless it got deleted somehow.
     
  16. planet_fox

    planet_fox Member HowtoForge Supporter

    Code:
    -rw-r--r--   1 root root   66 Jul 28  2006 actions.load
    -rw-r--r--   1 root root   60 Jul 28  2006 asis.load
    -rw-r--r--   1 root root   70 Jul 28  2006 auth_anon.load
    -rw-r--r--   1 root root   68 Jul 28  2006 auth_dbm.load
    -rw-r--r--   1 root root   74 Jul 28  2006 auth_digest.load
    -rw-r--r--   1 root root  130 Jul 28  2006 auth_ldap.load
    -rw-r--r--   1 root root   72 Jan  7  2006 auth_pgsql.load
    -rw-r--r--   1 root root   62 Jul 28  2006 cache.load
    -rw-r--r--   1 root root   70 Jul 28  2006 cern_meta.load
    -rw-r--r--   1 root root   58 Oct  7 02:20 cgi.load
    -rw-r--r--   1 root root   58 Oct  7 02:20 cgi.load.07-10-06_02-20-39
    -rw-r--r--   1 root root   61 Jul 28  2006 cgid.conf
    -rw-r--r--   1 root root   60 Jul 28  2006 cgid.load
    -rw-r--r--   1 root root   58 Jul 28  2006 dav.load
    -rw-r--r--   1 root root   37 Jul 28  2006 dav_fs.conf
    -rw-r--r--   1 root root   64 Jul 28  2006 dav_fs.load
    -rw-r--r--   1 root root   66 Jul 28  2006 deflate.load
    -rw-r--r--   1 root root   72 Jul 28  2006 disk_cache.load
    -rw-r--r--   1 root root   66 Jul 28  2006 expires.load
    -rw-r--r--   1 root root   72 Jul 28  2006 ext_filter.load
    -rw-r--r--   1 root root  154 Mar 10 03:32 fastcgi.conf
    -rw-r--r--   1 root root   66 Mar 10 03:20 fastcgi.load
    -rw-r--r--   1 root root   72 Jul 28  2006 file_cache.load
    -rw-r--r--   1 root root   66 Jul 28  2006 headers.load
    -rw-r--r--   1 root root   60 Jul 28  2006 imap.load
    -rw-r--r--   1 root root   66 Oct  7 02:20 include.load
    -rw-r--r--   1 root root   66 Oct  7 02:20 include.load.07-10-06_02-20-39
    -rw-r--r--   1 root root   60 Jul 28  2006 info.load
    -rw-r--r--   1 root root   60 Jul 28  2006 ldap.load
    -rw-r--r--   1 root root   70 Jul 28  2006 mem_cache.load
    -rw-r--r--   1 root root   90 Jul 28  2006 mime_magic.conf
    -rw-r--r--   1 root root   72 Jul 28  2006 mime_magic.load
    -rw-r--r--   1 root root   68 Apr 10  2005 mod-security.load
    -rw-r--r--   1 root root   19 Oct  7 02:20 perl.conf
    -rw-r--r--   1 root root   19 Oct  7 02:20 perl.conf.07-10-06_02-20-39
    -rw-r--r--   1 root root   60 Oct  7 02:20 perl.load
    -rw-r--r--   1 root root   60 Oct  7 02:20 perl.load.07-10-06_02-20-39
    -rw-r--r--   1 root root  221 Oct  7 02:20 php4.conf
    -rw-r--r--   1 root root  133 Oct  7 02:20 php4.conf.07-10-06_02-20-39
    -rw-r--r--   1 root root   59 Oct  7 02:20 php4.load
    -rw-r--r--   1 root root   59 Oct  7 02:20 php4.load.07-10-06_02-20-39
    -rw-r--r--   1 root root  133 Nov  3 16:05 php5.conf
    -rw-r--r--   1 root root   59 Nov  3 16:05 php5.load
    -rw-r--r--   1 root root  840 Jul 28  2006 proxy.conf
    -rw-r--r--   1 root root  316 Jul 28  2006 proxy.load
    -rw-r--r--   1 root root   78 Jul 28  2006 proxy_connect.load
    -rw-r--r--   1 root root   70 Jul 28  2006 proxy_ftp.load
    -rw-r--r--   1 root root  103 Mar 23  2005 proxy_html.load
    -rw-r--r--   1 root root   72 Jul 28  2006 proxy_http.load
    -rw-r--r--   1 root root   66 Oct  7 02:20 rewrite.load
    -rw-r--r--   1 root root   66 Oct  7 02:20 rewrite.load.07-10-06_02-20-39
    -rw-r--r--   1 root root   60 Oct  1  2004 ruby.load
    -rw-r--r--   1 root root   66 Jul 28  2006 speling.load
    -rw-r--r--   1 root root 3545 Oct  7 02:20 ssl.conf
    -rw-r--r--   1 root root 3545 Oct  7 02:20 ssl.conf.07-10-06_02-20-39
    -rw-r--r--   1 root root   58 Oct  7 02:20 ssl.load
    -rw-r--r--   1 root root   58 Oct  7 02:20 ssl.load.07-10-06_02-20-39
    -rw-r--r--   1 root root   64 Oct  7 02:20 suexec.load
    -rw-r--r--   1 root root   64 Oct  7 02:20 suexec.load.07-10-06_02-20-39
    -rw-r--r--   1 root root   70 Jul 28  2006 unique_id.load
    -rw-r--r--   1 root root  244 Oct  7 02:20 userdir.conf
    -rw-r--r--   1 root root  244 Oct  7 02:20 userdir.conf.07-10-06_02-20-39
    -rw-r--r--   1 root root   66 Oct  7 02:20 userdir.load
    -rw-r--r--   1 root root   66 Oct  7 02:20 userdir.load.07-10-06_02-20-39
    -rw-r--r--   1 root root   70 Jul 28  2006 usertrack.load
    -rw-r--r--   1 root root   74 Jul 28  2006 vhost_alias.load
    
    and the enable

    Code:
    lrwxrwxrwx   1 root root   40 Oct  7 04:47 actions.load -> /etc/apache2/mods-available/actions.load
    lrwxrwxrwx   1 root root   43 Oct 11 20:15 auth_pgsql.load -> /etc/apache2/mods-available/auth_pgsql.load
    lrwxrwxrwx   1 root root   36 Nov 14 23:54 cgi.load -> /etc/apache2/mods-available/cgi.load
    lrwxrwxrwx   1 root root   36 Mar 14 15:11 dav.load -> /etc/apache2/mods-available/dav.load
    lrwxrwxrwx   1 root root   40 Mar  4 18:16 deflate.load -> /etc/apache2/mods-available/deflate.load
    lrwxrwxrwx   1 root root   40 Jan  9 21:27 fastcgi.conf -> /etc/apache2/mods-available/fastcgi.conf
    lrwxrwxrwx   1 root root   40 Jan  9 21:27 fastcgi.load -> /etc/apache2/mods-available/fastcgi.load
    lrwxrwxrwx   1 root root   40 Mar  4 18:19 headers.load -> /etc/apache2/mods-available/headers.load
    lrwxrwxrwx   1 root root   37 Oct 20 01:23 imap.load -> /etc/apache2/mods-available/imap.load
    lrwxrwxrwx   1 root root   40 Oct  7 01:59 include.load -> /etc/apache2/mods-available/include.load
    lrwxrwxrwx   1 root root   43 Oct 11 20:12 mime_magic.conf -> /etc/apache2/mods-available/mime_magic.conf
    lrwxrwxrwx   1 root root   43 Oct 11 20:12 mime_magic.load -> /etc/apache2/mods-available/mime_magic.load
    lrwxrwxrwx   1 root root   45 Oct  7 04:44 mod-security.load -> /etc/apache2/mods-available/mod-security.load
    lrwxrwxrwx   1 root root   37 Oct  7 01:56 perl.conf -> /etc/apache2/mods-available/perl.conf
    lrwxrwxrwx   1 root root   37 Oct  7 01:56 perl.load -> /etc/apache2/mods-available/perl.load
    lrwxrwxrwx   1 root root   37 Mar 14 15:23 php5.conf -> /etc/apache2/mods-available/php5.conf
    lrwxrwxrwx   1 root root   37 Mar 14 15:23 php5.load -> /etc/apache2/mods-available/php5.load
    lrwxrwxrwx   1 root root   40 Oct  7 01:59 rewrite.load -> /etc/apache2/mods-available/rewrite.load
    lrwxrwxrwx   1 root root   37 Mar  4 17:38 ruby.load -> /etc/apache2/mods-available/ruby.load
    lrwxrwxrwx   1 root root   36 Oct  7 01:59 ssl.conf -> /etc/apache2/mods-available/ssl.conf
    lrwxrwxrwx   1 root root   36 Oct  7 01:59 ssl.load -> /etc/apache2/mods-available/ssl.load
    lrwxrwxrwx   1 root root   39 Jan  9 15:55 suexec.load -> /etc/apache2/mods-available/suexec.load
    
     
  17. falko

    falko Super Moderator ISPConfig Developer

  18. planet_fox

    planet_fox Member HowtoForge Supporter

    I have testing other formats and I have see only index.php run
    index.xhtml , index.htm, index.shtml have the same error

    and I have found this

    http://faq.wiprojekt.de/1_7_de.html

    and here in this tutorial is this in the vhost config

    AddType application/x-httpd-php .php .php3 .php4 .html
    AddHandler x-httpd-php .php .php3 .php4 .html


    and in my vhosts is this not
     
    Last edited: Mar 20, 2007
  19. falko

    falko Super Moderator ISPConfig Developer

    This will make Apache treat your HTML pages as PHP pages, not as static pages and will increase server load.
     
  20. planet_fox

    planet_fox Member HowtoForge Supporter

    I haves any Idee whats the Problem is . Id o testing at home with the same applications and than when it run. I see only the solution I do new install the apache webserver on Weekend.

    Thank you Falco for all
     

Share This Page