Why won't SSI work in IIS?
Posted
by
Josh Kodroff
on Server Fault
See other posts from Server Fault
or by Josh Kodroff
Published on 2011-03-07T20:49:55Z
Indexed on
2011/03/17
16:12 UTC
Read the original article
Hit count: 356
iis
|server-side-includes
I can't get IIS to respect my SSI directives - it just outputs the #include directive as if it were regular old html.
Here's the relevant data points:
- My file with the include directive is called index.html
- This is my directive:
<!-- #include file = "header.shtml" -->
(it doesn't work withvirtual
either.) - The file being requested is in the same directory as the file being #include-ed.
- The SSI module is installed.
- The SSINC-shtml handler mapping is present and enabled.
I think it might be some sort of permissions issue (read/write/execute), but I don't know where those settings are in IIS 7.5.
© Server Fault or respective owner