On Thu, 10 Dec 2020 19:24:20 +0200, Alexey Vatchenko wrote:
> I’m migrating from ancient server with OpenBSD’s apache1 to 6.8 OpenBSD’s htt
> pd.
> In my configuration I use Handler for .html, .htm, .css, .js and 4 more exten
> sions.
> I’ve found a way to configure it for one extension and it works great!
>
> location “*.html” {
> fastcgi {
> socket “/run/slowcgi.sock”
> param SCRIPT_FILENAME “/path/to/handler.pl"
> }
> }
Can't you just use lua-style patterns with "location match ..."?
See the CAPTURES section in pattern(7) for details.
- todd