Re: Openbsd 6.6 httpd custom 404 page

2020-05-28 Thread Mischa
Hi Flint, It’s a BGP Looking Glass. https://man.openbsd.org/bgplg https://nlix.high5.nl/cgi-bin/bgplg Mischa > On 28 May 2020, at 17:51, flint pyrite wrote: > > What is > > /var/www/htdocs/bgplg > > for? > > On Thu, May

Re: Openbsd 6.6 httpd custom 404 page

2020-05-28 Thread flint pyrite
What is /var/www/htdocs/bgplg for? On Thu, May 28, 2020 at 5:13 AM Mischa wrote: > Hi Matthias, > > Very nice features, would be great to see these in httpd. > > Mischa > > > > On 28 May 2020, at 11:42, Matthias wrote: > > > > Riccardo, > > > > you can try this: https://github.com/mpfr/httpd-

Re: Openbsd 6.6 httpd custom 404 page

2020-05-28 Thread Mischa
Hi Matthias, Very nice features, would be great to see these in httpd. Mischa > On 28 May 2020, at 11:42, Matthias wrote: > > Riccardo, > > you can try this: https://github.com/mpfr/httpd-plus > > ... and add something like that into your httpd.conf(5): > > location not found "/*" { >

Re: Openbsd 6.6 httpd custom 404 page

2020-05-28 Thread Matthias
Riccardo, you can try this: https://github.com/mpfr/httpd-plus ... and add something like that into your httpd.conf(5): location not found "/*" { request rewrite "/404.html" } My original motivation for writing these add-ons was to get WordPress running on httpd(8) which also requires

Re: Openbsd 6.6 httpd custom 404 page

2020-05-26 Thread prx
No, it's not. But that would be nice, at least to suggest a link to à search page for a lost user. For now, you have to modify sources and compile again. Le 26 mai 2020 17:34:11 GMT+02:00, Riccardo Giuntoli a écrit : >Hello there dear OpenBSD fellows. > >I would like to change default 404 pag

Openbsd 6.6 httpd custom 404 page

2020-05-26 Thread Riccardo Giuntoli
Hello there dear OpenBSD fellows. I would like to change default 404 page in httpd(8), and I've seen in this list that in past versions is hardcoded into the C sources. Now it's possible in httpd.conf(5) ? Very nice regards, RG. -- Name: Riccardo Giuntoli Email: tag...@gmail.com Location: san

Re: httpd: Custom 404 page

2015-11-21 Thread Tati Chevron
There is a way to redirect 404 errors on my main domain or to a customized page? System: OpenBSD 5.7-stable i386 with httpd Not really, because the behaviour is hard coded within httpd: /usr/src/usr.sbin/httpd/server_http.c : /* A CSS stylesheet allows minimal customization by the use

httpd: Custom 404 page

2015-11-21 Thread Gianluca D.Muscelli
There is a way to redirect 404 errors on my main domain or to a customized page? System: OpenBSD 5.7-stable i386 with httpd Gianluca D.Muscelli i...@gianlucamuscelli.it