SSIs -- ASP? HTM? IIS?
Posted on 2000-03-09
This question could be posted in a number of places, but I'm guessing this forum is best.
I'm trying to redo a website, using server side includes for the left nav bar and footer that are on every page. The site is on an IIS (4.0) server, staged on a 2K server.
It doesn't work in either. The syntax
<!--#include virtual="/includes/leftnavbar_inc.stm" -->
is ignored. I tried it in an htm file, I tried changing it to an ASP extension (in the first case, it's just ignored. In the second, it says it can't find teh include file, which is located where it is supposed to be).
I've messed with file names, locations, extensions, etc. I created very simplified test files. No luck. I'm not sure if the problem is in the code, or with server side configuration: I think there may be some server side config that needs to be done. The MS techbase sucks on this one -- it's SSI notes don't seem to go beyond IIS 3.0, and the subject isn't mentioned in any Win2K documentation.
Any suggestions? Cheers!