I've been testing the method explained in Corbb O'connor's article about creating a database driven website using SSI

I followed the article but when i try it the message [an error occurred while processing this directive] aswell as the custom error message I made. I can see no reason why it should fail other than if the coding was wrong. This is the code i used

<!--#set var="which" value="$QUERY_STRING_UNESCAPED" -->
<!--#if expr="$which !=""-->
<!--#include virtual="/content/$which" -->
<!--#else -->
<!--#include virtual="/content/error.txt" -->
<!--#endif -->

Is that correct does anyone have any suggestions.

Thanks in advance