Re: arm64 rpi3b install method

2020-03-06 Thread Tim Baumgard
Thanks for your write-up, Stuart! I just wanted to add that people can get it working on the RPi 3B+ with some extra work: - Put the package sets on the installation drive since network access doesn't exist by default as you pointed out. - Buy a supported USB network interface. I've used a wir

Re: man.cgi(8): turn off HTML5 autocomplete for the query input field

2020-01-10 Thread Tim Baumgard
On Fri, Jan 10, 2020 at 9:41 AM Ingo Schwarze wrote: > > > I found out that Apple requires nonstandard [1] attributes to fully > > "fix" this. I don't know if using nonstandard attributes is the right > > way to go, but Apple, Google, and DuckDuckGo are using these attributes > > on their search f

Re: man.cgi(8): turn off HTML5 autocomplete for the query input field

2020-01-10 Thread Tim Baumgard
I found out that Apple requires nonstandard [1] attributes to fully "fix" this. I don't know if using nonstandard attributes is the right way to go, but Apple, Google, and DuckDuckGo are using these attributes on their search fields. According to Apple's own documentation, the "autocapitalize" att

man.cgi(8): turn off HTML5 autocomplete for the query input field

2020-01-09 Thread Tim Baumgard
This turns off HTML5 autocomplete for the query input field for man.cgi(8). This essentially makes smartphones and tablets behave the same as PCs since they otherwise would try to annoyingly capitalize the first character and change things like "mandoc" to "man doctor." Tim Index: cgi.c

httpd rewrite support and REQUEST_URI

2018-07-31 Thread Tim Baumgard
I was testing the new rewrite support in httpd in conjunction with the "fastcgi" option and noticed that the REQUEST_URI CGI variable is set to the rewritten path and query string instead of the requested URI and query string. The patch below mimics what happens with http_descriptor->http_path_alia

Re: httpd: $DOCUMENT_URI macro fix for FastCGI

2016-04-17 Thread Tim Baumgard
> Christopher Zimmermann wrote: > > Tim Baumgard wrote: >> The current behavior is redundant since SCRIPT_NAME, which is in the >> RFC, and DOCUMENT_URI are always set to the same thing. > > That's not always the case. DOCUMENT_URI is SCRIPT_NAME ^ PATH_INFO. >

Re: httpd: $DOCUMENT_URI macro fix for FastCGI

2016-04-14 Thread Tim Baumgard
> Christopher Zimmermann wrote: > Tim Baumgard wrote: >> According to convention and httpd.conf(5), the $DOCUMENT_URI macro for >> FastCGI calls should expand to the request path instead of the path >> alias. > > FastCGI / CGI is poorly documented. As far as conventi

httpd: minor documentation fix for HSTS

2016-04-14 Thread Tim Baumgard
The "hsts" option isn't allowed to be nested within a "location" option. See parse.y:572. Index: httpd.conf.5 === RCS file: /cvs/src/usr.sbin/httpd/httpd.conf.5,v retrieving revision 1.68 diff -u -p -r1.68 httpd.conf.5 --- httpd.conf.

httpd: URL rewrite support for the pass option

2016-04-14 Thread Tim Baumgard
I know a patch was sent to the list a few months ago to add URL rewriting support to httpd, but it doesn't seem to have made its way into the tree. It's unclear whether that's because URL rewriting support without using redirection is being considered featuritis, it fell through the cracks, or what

httpd: $DOCUMENT_URI macro fix for FastCGI

2016-04-14 Thread Tim Baumgard
According to convention and httpd.conf(5), the $DOCUMENT_URI macro for FastCGI calls should expand to the request path instead of the path alias. This isn't a major issue because only "block return code uri" options make use of path aliases at the moment, and those use a separate macro-expansion fu