Tintin81
Tintin81

Reputation: 10215

Server Side Includes syntax no longer works with Apache 2.4

I am using this syntax to check for the current document name with Server Side Includes (SSI):

<!--#if expr="$DOCUMENT_NAME = /index.shtml/" -->
    <ul id="menu">
        ...
    </ul>
<!--#endif -->

Unfortunately, this no longer works with Apache 2.4 (it used to work with version 2.2, though!).

What am I missing here? How can I get this to work?

Upvotes: 0

Views: 202

Answers (0)

Related Questions