Fixed directory listings when Host header was missing