Can't get your $HTTP["host"] working and running multitail? Check this out

Added by peterg22 over 6 years ago

Dear all.. just a heads-up if you're struggling to get $HTTP["host"] recognising the hostname, and like me, you're running the excellent multitail to keep an eye on several logs at once.

I found that however hard I tried, lighty apparently wouldn't recognise this:

$HTTP["host"] =~ "" { status.status-url = "/server-status" }

But when I looked in the lighty logs manually, all I could see was the IP address.. very odd. Initially I couldn't figure where the hostname lookup was taking place, and then I looked in /etc/multitail.conf, where I noticed:


I've now changed this and all works properly. Just thought you may find this useful!