manual /etc/apache2/vhosts/Vhosts_ispconfig.conf entry

Discussion in 'General' started by Snowman, Oct 5, 2007.

  1. Snowman

    Snowman Member

    hi all,
    i just want to ask if it is possible to manualy add some vhost to /etc/apache2/vhosts/Vhosts_ispconfig.conf or somehow create vhost that will be not used (listed) by ispconfig..

    if i just add host to /etc/apache2/vhosts/Vhosts_ispconfig.conf , can i be sure that ispconfig will not get mad from that ?

    Should it be written in some syntax with for example "#" chars before or after ?

    thnx for help
     
  2. catdude

    catdude New Member

    I'm pretty sure that Vhosts_ispconfig.conf gets rewritten by ISPConfig whenever a web config changes. I would suggest editing /etc/apache2/apache2.conf, going to the bottom where you'll find "Include /etc/apache2/vhosts/Vhosts_ispconfig.conf". Either just after of just before that line, add a line reading "Include /etc/apache2/myvhosts.conf", then put your manual vhosts entries in /etc/apache2/myvhosts.conf".
     

Share This Page