Re: Getting SSI to work in IIS 6.0, Windows Server 2003

From: Kristofer Gafvert (kgafvert_at_NEWSilopia.com)
Date: 05/28/04


Date: Fri, 28 May 2004 22:19:29 +0200

use
<!--#include virtual="/ssi/tester.htm" -->

and it will probably work for file extensions that is mapped to ssinc.dll
(shtml and shtm by default). I do not recommend to map ssinc.dll to the
htm/html extension, it is probably best to leave this to pure html code.

-- 
Regards,
Kristofer Gafvert - IIS MVP
http://www.ilopia.com - When you need help!
"The Honors College" <anonymous@discussions.microsoft.com> wrote in message
news:68556BC6-D823-48CD-907E-E9B992AF2876@microsoft.com...
> Hi everyone,
>
> In our index.html we have this line:
>   <!--#include file="/ssi/tester.htm" -->
>
> But when we pull up the page, the file tester.htm is not included in the
page.
>
> We are working on Windows Server 2003, and IIS 6.0
>
> We've tried going into the website properties, and the paths for .shtm and
.shtml are correct (routed to ssinc.dll), and although we change the
extension of the index file to .sthm or .shtml, neither works.
>
> Is there some other IIS configuration for this?
>
> Any help would be much appreciated.
>
> Thanks
>
>
>


Relevant Pages

  • Re: Wild card symbol in name?
    ... using a program where all pages had the "shtml" ... all pages now have the "html" extension. ... care if you store static html files or use shtml? ...
    (alt.html)
  • Re: Trouble moving servers with asp.net
    ... I renamed the page to have a .aspx extension and it works fine ... > we are having trouble with what appears to be ASP.NET server side includes ... > in the .shtml files. ... > I have mapped the .shtml files on the site to use the aspnet_isapi dll ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Trouble with ASP.NET
    ... I renamed the page to have a .aspx extension and it works fine ... > we are having trouble with what appears to be ASP.NET server side includes ... > in the .shtml files. ... > I have mapped the .shtml files on the site to use the aspnet_isapi dll ...
    (microsoft.public.inetserver.iis)
  • Re: Trouble moving servers with asp.net
    ... I renamed the page to have a .aspx extension and it works fine ... > we are having trouble with what appears to be ASP.NET server side includes ... > in the .shtml files. ... > I have mapped the .shtml files on the site to use the aspnet_isapi dll ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Trouble moving servers with asp.net
    ... I renamed the page to have a .aspx extension and it works fine ... > we are having trouble with what appears to be ASP.NET server side includes ... > in the .shtml files. ... > I have mapped the .shtml files on the site to use the aspnet_isapi dll ...
    (microsoft.public.dotnet.framework.aspnet.security)

Quantcast