I am trying to adapt an SSI content management
system from an Apache server to an IIS 6 server
and I am running into trouble because 'set' is
not supported in IIS SSI.
This is a typical file for a page (/bbs/index.shtml):
<!--#set var="content_fi le" value="/bbs/messages.shtml" -->
<!--#set var="title" value="Open Real Estate Investor Forum" -->
<!--#set var="keywords" value="Real Estate Investment Club, blah blah
blah" -->
<!--#set var="descriptio n" value="American Investors in ..." -->
<!--#include virtual="/templates/load_page.shtml "-->
Then in load_page.shtml (edited for brevity):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!--#if expr="!$title" -->
<!--#set var="title" value="Default title" -->
<!--#endif -->
<!--#if expr="!$keyword s" -->
<!--#set var="keywords" value="Default keywords" -->
<!--#endif -->
<!--#if expr="!$descrip tion" -->
<!--#set var="descriptio n" value="Default description" -->
<!--#endif -->
<!--#if expr="!$content _file" -->
<!--#set var="content_fi le" value="/home_content.sh tml" -->
<!--#endif -->
<title><!--#echo var="title" --></title>
<meta name="keywords" content="<!--#echo var="keywords" -->">
<meta name="descripti on" content="<!--#echo var="descriptio n" -->">
Comment