[Mono-aspnet-list] Apache + mod-mono serving httpd/unix-directory every so often

Robert Jordan robertj at gmx.net
Sat Nov 19 10:29:28 EST 2011


On 18.11.2011 23:02, Marcelo Zabani wrote:
> I'm having a problem of a blank file of type httpd/unix-directory being
> served every so often.
> I have searched google and read somewhere that this happens when Apache
> can't find a virtual host to serve the request. What troubles me is why
> does this happen only once in a while with the same configuration.

My apache-foo is a bit rusty, but I believe that you must add *all*
host names you want to handle to the VirtualHost section.

Your nice canonical redirects from "www.foo.com.tld" to "foo.com"
are of no use if Apache doesn't know upfront that it has to handle
these hosts.

Robert



More information about the Mono-aspnet-list mailing list