On 2021/04/03 14:00, Florian Obser wrote:
> On Sat, Apr 03, 2021 at 12:28:56PM +0100, Stuart Henderson wrote:
> > On 2021/04/03 11:11, Florian Obser wrote:
> > > Nice this works for me, too.
> > > Thank you very much.
> > > 
> > > sthen: OK to add it to the README?
> > 
> > I'd like to have it working with the same path as the other example
> > configurations (/icingaweb2 rather than in the root) so that the
> > configs are interchangeable with other servers, can you use this
> > instead please?
> 
> Makes sense, I missed that.
> However, your config doesn't quite work.
> For example, requesting /icingaweb2/img/icinga-logo-big-dark.svg
> results in http 200 with Content-lenght: 0.
> 
> Sprinkling more root and request strips doesn't seem to help :/
> I suspect the "not found" isn't working correctly.
> 
> I'm out of ideas for now.
> Maybe Michael or you have an idea.
> It's also possible that httpd(8) just can't do it?

Oh that's a pain, I thought it was working with that (I spent about an hour
trying to figure it out when you first asked and didn't get as far as Michael).
I think it would need "if path is /icingaweb2 then strip before deciding
if the file exists", I suppose that's not possible then..

In that case, I'm ok with the previous version but could you put it after
the existing ones (rather than /icingaweb2, /, /icingaweb2) and add a note
that it's served direct in the root?

> There can be only one!

There have always been at least 2 since pretty much anyone used teh interwebs ;)
(cern and ncsa)

Reply via email to