News for hackers. Stuff that matters.
Re:Ask HN: Static site generator that can cope with octopus ... by vinaypai on Tuesday September 06, 2022 @08:59AM (#32736490)
Seems like you are using a dynamic server-side language, but it's just in mod-include's SSI language instead of something more conventional.
Re:Ask HN: Static site generator that can cope with octopus ... by iam-TJ on Tuesday September 06, 2022 @09:23AM (#32736756)
Yes and No. The very limited functionality of mod-include and apache httpd expr-essions isn't Turing-complete and cannot be manipulated by client requests.

Secondly, as these are tightly integrated into httpd it turns out to be extremely efficient. I've been using mod-include in many ways for about 20 years.

Only files marked with execute attribute (+x) are handled by mod-include in my case.