Changing anything on site re-creates index.html

Discussion in 'General' started by lschafroth, Oct 24, 2008.

  1. lschafroth

    lschafroth New Member

    Any time my users access their Control Panel in ISPConfig and make any changes at all, it creates a new index.html file.

    Most of their sites use default.htm or index.php and etc. So the site gives the ispconfig default index page instead of their site.

    How can I fix that?

    It doesnt appear to be editing the vhosts_ispconfig file at all.

    Lannie
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If you have a index file like index.php, ispconfig will not copy the index.html file again.
     
  3. lschafroth

    lschafroth New Member

    thats my problem. I have to delete it otherwise the site wont use the default.htm.

    The vhosts file never gets updated so anything I put in ISPConfig for default pages does not work.

    I have to delete index.html so the default.htm or default.php and etc will work instead. A few days later it's back to a default ispconfig index.html file.

    This needs to be stopped and the vhost file needs to be updated by ispconfig so it will use the correct files.

    Lannie
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Can you go to the directory where Vhosts_ispconfig.conf is located and post the outptu of
    Code:
    ls -la
    ?
    Are there any warnings in /home/admispconfig/ispconfig/ispconfig.log?
    What's the output of
    Code:
    ls -la /root/ispconfig
    ?
     
  5. lschafroth

    lschafroth New Member

    [root@webhost vhosts]# ls -la
    total 656
    drwxr-xr-x 2 root root 4096 Oct 19 19:44 .
    drwxr-xr-x 3 root root 4096 Oct 14 00:30 ..
    -rwxr-xr-x 1 root root 20363 Oct 19 14:44 Vhostsispconfig.bak
    -rwxr-xr-x 1 root root 20655 Oct 25 09:11 Vhosts_ispconfig.conf
    -rwxr-xr-x 1 root root 20655 Oct 25 09:11 Vhosts_ispconfig.conf~
    -rw-r--r-- 1 root root 21712 Oct 19 10:48 Vhosts_ispconfig.conf_19-10-08_10-48-36
    -rw-r--r-- 1 root root 21712 Oct 19 10:49 Vhosts_ispconfig.conf_19-10-08_10-49-48
    -rw-r--r-- 1 root root 21712 Oct 19 10:50 Vhosts_ispconfig.conf_19-10-08_10-50-30
    -rw-r--r-- 1 root root 21712 Oct 19 10:58 Vhosts_ispconfig.conf_19-10-08_10-58-54
    -rw-r--r-- 1 root root 21712 Oct 19 10:59 Vhosts_ispconfig.conf_19-10-08_10-59-26
    -rw-r--r-- 1 root root 21712 Oct 19 11:00 Vhosts_ispconfig.conf_19-10-08_11-00-08
    -rw-r--r-- 1 root root 21712 Oct 19 11:00 Vhosts_ispconfig.conf_19-10-08_11-00-31
    -rw-r--r-- 1 root root 21712 Oct 19 11:00 Vhosts_ispconfig.conf_19-10-08_11-00-42
    -rw-r--r-- 1 root root 21712 Oct 19 12:48 Vhosts_ispconfig.conf_19-10-08_12-48-07
    -rw-r--r-- 1 root root 21712 Oct 19 12:51 Vhosts_ispconfig.conf_19-10-08_12-51-59
    -rw-r--r-- 1 root root 21704 Oct 19 13:09 Vhosts_ispconfig.conf_19-10-08_13-09-01
    -rw-r--r-- 1 root root 21696 Oct 19 13:09 Vhosts_ispconfig.conf_19-10-08_13-09-18
    -rw-r--r-- 1 root root 21680 Oct 19 13:09 Vhosts_ispconfig.conf_19-10-08_13-09-35
    -rw-r--r-- 1 root root 21672 Oct 19 13:09 Vhosts_ispconfig.conf_19-10-08_13-09-50
    -rw-r--r-- 1 root root 21656 Oct 19 13:10 Vhosts_ispconfig.conf_19-10-08_13-10-08
    -rw-r--r-- 1 root root 21640 Oct 19 13:10 Vhosts_ispconfig.conf_19-10-08_13-10-26
    -rw-r--r-- 1 root root 21632 Oct 19 13:10 Vhosts_ispconfig.conf_19-10-08_13-10-43
    -rw-r--r-- 1 root root 21632 Oct 19 14:00 Vhosts_ispconfig.conf_19-10-08_14-00-31
    -rw-r--r-- 1 root root 21645 Oct 19 14:09 Vhosts_ispconfig.conf_19-10-08_14-09-05
    -rw-r--r-- 1 root root 21516 Oct 19 14:10 Vhosts_ispconfig.conf_19-10-08_14-10-30
    -rw-r--r-- 1 root root 21600 Oct 19 14:19 Vhosts_ispconfig.conf_19-10-08_14-19-24
    -rw-r--r-- 1 root root 21940 Oct 19 14:19 Vhosts_ispconfig.conf_19-10-08_14-19-48
    -rw-r--r-- 1 root root 21940 Oct 19 14:20 Vhosts_ispconfig.conf_19-10-08_14-20-15
    -rwxr-xr-x 1 root root 21940 Oct 19 16:15 Vhosts_ispconfig.conf_19-10-08_16-15-41


    [root@webhost vhosts]#
    [root@webhost vhosts]# ls -la /root/ispconfig
    total 108
    drwxr-xr-x 10 root root 4096 Oct 25 09:11 .
    drwxr-x--- 17 root root 4096 Oct 14 15:41 ..
    -rwxr-xr-x 1 root root 33074 Oct 14 00:30 cronolog
    -rwxr-xr-x 1 root root 9673 Oct 14 00:30 cronosplit
    drwxr-xr-x 12 root root 4096 Oct 14 00:15 httpd
    drwxr-xr-x 16 root root 4096 Oct 14 00:30 isp
    drwxr-xr-x 7 root root 4096 Oct 14 00:16 libmcrypt
    -rw-r--r-- 1 root root 8 Oct 25 09:11 .old_path_httpd_root
    drwxr-xr-x 6 root root 4096 Oct 14 00:14 openssl
    drwxr-xr-x 6 root root 4096 Oct 14 00:24 php
    drwxr-xr-x 4 root root 4096 Oct 19 19:44 scripts
    drwxr-xr-x 4 root root 4096 Oct 14 00:30 standard_cgis
    drwxr-xr-x 2 root root 4096 Oct 14 00:30 sv
    -rwx------ 1 root root 9389 Oct 14 00:30 uninstall
    [root@webhost vhosts]#


    I dont see any errors in the log. It's quite large. Mostly debug and info type stuff. A few warnings when creating imap folders

    Lannie
     
  6. falko

    falko Super Moderator Howtoforge Staff

  7. lschafroth

    lschafroth New Member

    I followed the commands from the link you provided and it came back with Syntax OK.

    I checked the ispconfig.log and it did not show any entries for today.

    Lannie

    PS what should the owner be for this file? It shows rwx for root.
     
    Last edited: Oct 26, 2008
  8. falko

    falko Super Moderator Howtoforge Staff

    Can you try this?
    Code:
    mv Vhosts_ispconfig.conf Vhosts_ispconfig.conf_orig
    mv Vhosts_ispconfig.conf_19-10-08_16-15-41 Vhosts_ispconfig.conf
    httpd -t
    What's the output of the last command?
     
  9. lschafroth

    lschafroth New Member

    output of the command is: Syntax OK.

    Thats all it says.

    Lanne
     
  10. falko

    falko Super Moderator Howtoforge Staff

    And the Vhosts_ispconfig.conf stil doesn't get updated when you change anything in ISPConfig?
     

Share This Page