AddType Application .html .htm

Discussion in 'Installation/Configuration' started by rutame, Nov 15, 2008.

  1. rutame

    rutame Member

    Hello to everybody,

    I have some problems with embeded php in files with extension .html. For this works i had added .html and .htm to /etc/apache2/vhost/Vhost_Ispconfig.conf and all works fine, but some times that entry dissapears and all leave to works.

    My question is: How i can add .html to virtualhost file permanently?

    Thank you very much
  2. falko

    falko Super Moderator ISPConfig Developer

    You must modify the function make_vhost() in /root/ispconfig/scripts/lib/config.lib.php.
  3. rutame

    rutame Member

    Thank you very much Falko, you are the best.


Share This Page