7. november 2010 22:50
Does the HTML Server Side Include work? If so I can not get the following to work?
<!--#include virtual="include.html" -->
The file is located in same folder as the 'calling' html. Help Please!
8. november 2010 02:29Redaktør
Your syntax is wrong; you need a space between the dash and the pound symbol. And you can't (by default) use server-side includes in .html files.
See IIS Server-Side Include Directives for more information.
I'm not on the WHS team, I just post a lot. :)
- Foreslået som svar af Ken WarrenMVP, Moderator 8. november 2010 02:29
8. november 2010 14:04
That helps some but it still does not work.
I have look at the IIS info and look on my server but could not figure out to make change to allow Server Side Includes.
21. februar 2011 01:34
Open Server Manager and drill down to Roles, Web Server (IIS), Role Services and click "Add Role Services". You'll be able to drill down to add any of the services you need to add.