Vhosts_ispconfig.conf and Vhosts_ispconfig.conf_date

Discussion in 'Installation/Configuration' started by TimeJunky, Sep 1, 2007.

  1. TimeJunky

    TimeJunky New Member

    Hello,

    how does ispconfig bind Vhosts_ispconfig.conf_date into apache?
    In the apache2.conf is only a line

    Code:
    Include /etc/apache2/vhosts/Vhosts_ispconfig.conf
    
    Therefore I miss an include to Vhosts_ispconfig.conf_01-09-07_13-36-14
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Vhosts_ispconfig.conf_date is not bind in apache, it is created in case of a configuration error as apache will not start if you use the configuration file Vhosts_ispconfig.conf_date.

    To fix this, make a backup of Vhosts_ispconfig.conf, then rename Vhosts_ispconfig.conf_date to Vhosts_ispconfig.conf

    and then run:

    httpd -t

    to get the error message.
     
  3. TimeJunky

    TimeJunky New Member

    thx u till.

    Does this mean, that I can leave Vhosts_ispconfig.conf_date after renaming to Vhosts_ispconfig.conf without having trouble in the future?
    For instance: Will new changes within the ispc web control panel be proceeded correctly?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please do what I posted above, otherwiese you will not find the problem and without solving the problem, ISPConfig will not write changes to your apache configuration.
     
  5. TimeJunky

    TimeJunky New Member

    Thx, good to know :)

    There was one problem which I solved. What is the next step?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    If you solved the problem in ISPConfig or in the apache conf file (not by editing Vhost_ispconfig.conf manually) there is nothing more to do.
     
  7. TimeJunky

    TimeJunky New Member

    That's the crux of the matter :)
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Did you run
    Code:
    httpd -t
    after renaming the file? What's the output?
     
  9. TimeJunky

    TimeJunky New Member

    This problem is solved, syntax is ok. I appreciate your help falco.
     

Share This Page