On Sun, Aug 18, 2013 at 12:55 PM, Stefan Fritsch <[email protected]> wrote: > Hi, > > for setups that only use virtual hosts, it can be useful to deny > requests in the main server context with a meaningful error message. > This can make debugging configuration errors much easier. > > AFAICS, there is no easy way to achieve this. Or did I miss something? > Any opinions about adding a new config directive for this purpose? If > yes, how should this be named? AllowNonVHostRequests (with a default > of 'yes')?
I don't know of any recipe for this, and I think a directive is okay. But what would the status be, and how would you override it just for this case?
