Fix SSI (server side include) paths
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.rst
fixssiinclude.py

README.rst

Fix SSI include

SSI disallows ".." in include paths, and while Apache doesn't seem to mind them that much, nginx refuses to include such a file. This script takes a file path and a document root path as parameters, and replaces such include paths with ones which are allowed.