Hi everyone,
I have SSI set up on my IIS webserver. It seems to work ok such that any .html files can be included in any .shtml files.
ie, inside index.shtml:
<!--#include file="lib/myfile.html" -->
The problem I'm having is that if I use SSi to include a php file, IIS wont parse it with the php program. It just includes it as if it were html. I don't know why this is happening, because I have php set up and working correctly. My php files are parsed correctly if I access them directly in the web browser, just not in SSI directives.
Does anyone know what I'm missing here?
(Note, I do know I could just do a include() but I want to use SSI for various reasons)
Thanks
- Adam 🙂