[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#569026: apache2-mpm-worker: Configured DocumentRoot for vhost ignored by compiled variable



On Tuesday 09 February 2010, Christian Gerbrandt wrote:
> Version: 2.2.14-6

> I got several vhosts configured on my machine. They were all
>  working fine until I updated to 2.2.14 (Debian). For some unknown
>  (for me) reason, one of the vhosts is not working anymore in the
>  way, that it will not use the DocumentRoot configured within the
>  vhosts configuration file, and tried to look for the htdocs in the
>  compiled default location, which is /etc/apache2/htdocs

In general, this means that a request is not matched by any virtual 
host. You should check that the target IP address and the name 
provided in the Host: header of the request actually matches one of 
the virtual host definitions.

From which version did you upgrade? From 2.2.14-5 to 2.2.14-6 the 
compiled default changed from /htdocs to /etc/apache2/htdocs. But this 
would mean that you should have gotten "File does not exist: /htdocs"
errors before.

If you have upgraded from before 2.2.12, the problem may be related to 
the added support for TLS server name indication (name based virtual 
hosts with SSL). This changed the behaviour for some setups that tried 
to use SSL name based virtual hosts before (even if the were not 
properly supported).

Cheers,
Stefan



Reply to: