#1  
Old 15th November 2008, 12:03
rutame rutame is offline
Senior Member
 
Join Date: Jun 2008
Location: Canary Islands, Spain, Europe, Planet Earth
Posts: 161
Thanks: 39
Thanked 1 Time in 1 Post
Default AddType Application .html .htm

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
Reply With Quote
Sponsored Links
  #2  
Old 16th November 2008, 13:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

You must modify the function make_vhost() in /root/ispconfig/scripts/lib/config.lib.php.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 16th November 2008, 15:56
rutame rutame is offline
Senior Member
 
Join Date: Jun 2008
Location: Canary Islands, Spain, Europe, Planet Earth
Posts: 161
Thanks: 39
Thanked 1 Time in 1 Post
 
Default

Thank you very much Falko, you are the best.

Greetings
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Shared IP message stirfry Installation/Configuration 15 5th November 2008 18:51
Error after upgrade mbascombe Installation/Configuration 13 14th April 2008 00:48
How to add a subdomain? malinens Installation/Configuration 2 10th March 2008 23:16
VirtualHosts marra87 General 9 12th September 2006 04:09


All times are GMT +2. The time now is 21:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.