PDA

View Full Version : AddType Application .html .htm


rutame
15th November 2008, 13:03
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

falko
16th November 2008, 14:12
You must modify the function make_vhost() in /root/ispconfig/scripts/lib/config.lib.php.

rutame
16th November 2008, 16:56
Thank you very much Falko, you are the best.

Greetings