Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

SSI if statement in Webmatrix

$
0
0

Hi

I am trying to use SSI conditional code in shtml file in Webmatrix2. Most code (eg. config, echo, include etc) are working, but if statement gets error: "Unknown attribute 'expr'", wonder what I am doing it wrong? It looks like this:

<!--#if expr="$DOCUMENT_NAME = index.shtml"-->A<!--#else -->B<!--#endif -->

This shows both A and B. 

Thank you,


Viewing all articles
Browse latest Browse all 27852


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>