NGINX and SSI

oldzy

Active member
Does SSI not work with nginx? For example, all my Apache pages have the below at the top of every page.

<!--#include virtual="/includes/ssi/header.htmlf"-->
 
Works fine here with nginx with

Code:
ssi on

to enable it and then using

Code:
<!--# include file="header.html" -->
 
Seems to work now. I installed some pcre devel package via YUM. Not sure if that was the reason or not.

Now I have a gaggle of other issues. My PHP scripts (which are called as SSI includes as well) don't load, htaccess don't work at all (not even ip restrictions), 404 errs, blank pages, etc. Guess it is just all part of the fun.
 
Top Bottom