Thursday, May 28, 2020

Re: Openbsd 6.6 httpd custom 404 page

Hi Flint,

It's a BGP Looking Glass.
https://man.openbsd.org/bgplg <https://man.openbsd.org/bgplg>

https://nlix.high5.nl/cgi-bin/bgplg <https://nlix.high5.nl/cgi-bin/bgplg>

Mischa


> On 28 May 2020, at 17:51, flint pyrite <flintnpyrite@gmail.com> wrote:
>
> What is
>
> /var/www/htdocs/bgplg
>
> for?
>
> On Thu, May 28, 2020 at 5:13 AM Mischa <obsdml@high5.nl> wrote:
>
>> Hi Matthias,
>>
>> Very nice features, would be great to see these in httpd.
>>
>> Mischa
>>
>>
>>> On 28 May 2020, at 11:42, Matthias <mp1009@gmx-topmail.de> 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 "/*" {
>>> request rewrite "/404.html"
>>> }
>>>
>>> My original motivation for writing these add-ons was to get WordPress
>>> running on httpd(8) which also requires handling of non-existent
>> locations.
>>>
>>> Best regards,
>>> Matthias
>>>
>>>
>>>
>>> On 2020-05-26 17:34, Riccardo Giuntoli wrote:
>>>> 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.
>>>>
>>>
>>
>>

No comments:

Post a Comment