httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milan Andric <>
Subject Re: [users@httpd] server reverts to global config briefly then back to vhost
Date Fri, 30 Apr 2004 16:55:41 GMT
On Fri, Apr 30, 2004 at 11:15:11AM +0100, Tim Gollschewsky wrote:
> However, I'm pretty sure the correct Host: header is being sent, because
> the error_log it uses is the correct one for that vhost.  In fact, in
> the global access_log, you can see the vhost identifier as well:

maybe setup a cronjob that does lynx -head -dump so you can
investigate the headers??

> /vhosts/dx00003/logs/www/error_log:[Fri Apr 30 02:20:31 2004] [error] [client
>] client denied by server configuration: /var/www/default
> /var/log/www/access_log: dx00003 0 - - [30/Apr/2004:02:20:31
> +0100] "GET / HTTP/1.1" 302 281 "-" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)

what is the top level (non vhost) ErrorLog config? 

> dx00003 is the vhost servername (we use ServerAliases for the full FQDN).
> Its just baffling.  How can it know where the error_log for that vhost
> is, but not the DocumentRoot.  :(

dunno, maybe the filesystem returned an error?

> > Are you implying the behaviour is random? If it can it be reproduced
> > then it will be easy to crack...
> I agree.  Yes, its totally random.

hmm, when did the problem start happening?  Were there any other things that
may have changed that could relate?  As a hack, what about setting up a
redirect in the top level config and create a Redirect 301 /

> > BTW, what's the rational behind having an inaccessible default VH? I'd
> > probably have a redirect to a "hello world" page..
> Well, it should always hit the first names-based vhost (which is
> accessable).  We figured this directory should never get hit,but lets
> lock it down anyway.  I work for a bank, little paranoia-based things
> like that make our auditors happy.
> Thanks for your help,


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message