Re: patch: adding httpd implicit file extensions

2021-02-27 Thread Bruce Hill
On 2/27/21 3:10 AM, Stuart Henderson wrote: I might be missing something but doesn't this do the same? location not found match "/(.*)" { request rewrite "/%1.html" } Nope, you're not missing anything, I wasn't aware you could do this. This *does* actually so

Re: patch: adding httpd implicit file extensions

2021-02-27 Thread Stuart Henderson
On 2021/02/26 15:38, Bruce Hill wrote: > Hello, this is my first time contributing to openbsd and this mailing > list, so please excuse any newbie blunders. I recently switched my > personal website to use httpd with statically generated HTML files, but > was unhappy to find that my HTML files coul

Re: patch: adding httpd implicit file extensions

2021-02-27 Thread Matthias Pressfreund
On 2021-02-27 00:38, Bruce Hill wrote: > Hello, this is my first time contributing to openbsd and this mailing > list, so please excuse any newbie blunders. I recently switched my > personal website to use httpd with statically generated HTML files, but > was unhappy to find that my HTML files co

patch: adding httpd implicit file extensions

2021-02-26 Thread Bruce Hill
Hello, this is my first time contributing to openbsd and this mailing list, so please excuse any newbie blunders. I recently switched my personal website to use httpd with statically generated HTML files, but was unhappy to find that my HTML files could only be accessed by exact filename, includin