I’m trying to set it up like this:
site.tld/something
Should load: includes/something.html
This works fine with the following config
ext .html
root ./public
templates /includes .html
rewrite {
if {file} not favicon.ico
to {path} {path}/ includes/{path}.html
}
But the problem is that it’s not rendering the template actions unless i go directly to the path.
Example: http://localhost:8080/includes/something.html Welcome ::1! You're visiting /includes/something.html.
It’s probably because your rewrite is stripping the extension off the URL, so templates doesn’t see the .html which is needed in order to activate the template parsing.