SSINC.dll linked to HTM and HTML? (Full Version)

All Forums >> [Web Development] >> Server Issues



Message


KMcDermott -> SSINC.dll linked to HTM and HTML? (6/13/2005 10:08:27)

did a quick search to no avail, hoping someone can offer some direction here...

our web group would like to implement Server-Side Includes on their new design of the site on HTM and/or HTML pages for static content, primarily using the #INCLUDE tag.

from what i've come up with so far:

1) since ASP pages are already in use, they can parse content to ssinc.dll - no add'l configuration necessary

2) shtm and SMTHL files already are configured to use ssinc.dll - no add'l config necessary

3) MS recommends against mapping HTM and/or HTML to ssinc.dll in certain instances:

quote:

By default, files with the .shtm and .shtml extensions are normally bound to ssinc.dll, the SSI DLL. Mapping .htm and .html files to ssinc.dll will cause a performance degradation, as ssinc.dll must parse the entire file before it is sent. Unless your .htm and .html files actually use SSI directives, it is recommended that these extensions not be mapped to ssinc.dll. Instead, use the .shtm and .shtml extensions for content that requires SSI.


Taken from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissdk/html/7b542c41-92f5-427b-ba3f-723c05c5f2ed.asp

Here's what I need some feedback on:

As the SSI tag will be included in all static HTM/HTML pages, is it therefore OK to map ssinc.dll to those file types within IIS?

As the authors will only be using the #INCLUDE tag, should the configuration be limited to that particular verb? Are there security risks with leaving all verbs enabled via ssinc.dll (parent paths are DISABLED for the web)?

What is the difference between an HTML and an SHTML file?

What is the difference between an FP Include and SSI?

I tried setting HTM and HTML to point to ssinc.dll with verbs limited to INCLUDE on my dev site, and everything came to a screeching halt (I can only assume because the existing HTML does not have the #INCLUDE tag).

Is there a "better" way to do this?

Thanks for your help...

Kevin

PS... Win2K Adv Server, FPSE 2002, IIS




BobbyDouglas -> RE: SSINC.dll linked to HTM and HTML? (6/15/2005 4:05:41)

If all you need is an SSI, there should be a way to make a SSI on the server.... Usually they end in .shtml, but then create a rewrite that changes .shtml to .html, and you'll be all set.

There isn't a way for .html/.htm pages to use SSI without renaming the page to something else, at least from my experience.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625