Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Server Side Include(SSI) in IIS with AEM Dispatcher

Anonymous
Not applicable

I am using Dispatcher 4.1.8 with IIS7.5. On interpreting the '<!--#include virtual=path'  SSI tag, getting an error 'Error Processing SSI file' on the page.

But the same is working with Apache HTTP server.

3 Replies
Sham_HC
Level 10
Level 10

Have you configured IIS to handle SSI?  From the logs is request going to dispatcher & then publish,If so verify IIS config

 

http://tech.mikeal.com/blog1.php/server-side-includes-for-html-in-iis7

Anonymous
Not applicable

Yes, I have enabled SSI in IIS as per the link you gave. There are nothing in the logs (request and dispatcher logs) for the page to be included dynamically.

But one thing what i have observed is that, if I manually cache the page in the docroot location, the SSI tag is replaced by the actual content. But in this case the content is what cached in the docroot location of dispatcher.

Sham_HC
Level 10
Level 10

AEM Dispatcher with IIS wrote...

Yes, I have enabled SSI in IIS as per the link you gave. There are nothing in the logs (request and dispatcher logs) for the page to be included dynamically.

But one thing what i have observed is that, if I manually cache the page in the docroot location, the SSI tag is replaced by the actual content. But in this case the content is what cached in the docroot location of dispatcher.

 

If i understand correctly cq caching the page replacing ssl with actual content. This should not happen please file daycare request we can take a look.