Forum Moderators: phranque
My first attempt was just to change the extention of my calling page to .SHTML. This resulted in the content being returned as text/plain.
I then added the following to my .htaccess file
AddType text/html .shtml
AddHandler server-parsed .html
The content now comes back as text/html but there is no sign of any server side parsing. My SSI directives are still in the content (evident from view.. source in the browser), but still in their raw form.
eg
<!--#include file="IncludedFile.shtml" -->
or
<!--#include virtual="something.txt" -->
I have tried a host of other commands, but they all just come back in their raw form and are, therefore, treated by the browser as commented out lines of HTML.
So it would appear that AddHandler server-parsed .shtml has had no effect whatsoever. Is there something else I need to configure?