My vhost config files worked perfectly until I installed the
apache2-51791 update today. (This was a critical update installed by
the YaST online updater)
Now my current version is Apache/2.0.50-7.2 (Was 2.0.50-7 before the
update)
It appears that a bug in the .conf file parsing may have been
introduced in the update. It seems that in order to function correctly
there must now be a directive between the <VirtualHost> and <Directory>
directives.
The error is very straightforward to reproduce... in fact, the
vhost.template file doesn't parse correctly because the last two lines
are:
</Directory>
</VirtualHost>
A less standard but similarly affected situation would be one at the
start of a VirtualHost section:
<VirtualHost *:80>
<Directory>
You can see how it is failing by looking at the
http://localhost/server-info/ page (if you have mod_info installed).
In the bottom-most section (Module Name: core.c), the "Current
Configuration" area will show how the VirtualHost sections are parsed.
A very simple, and bad, solution is to add a directive, or move the
<Directory> section so that it isn't directly adjacent to the
<VirtualHost> section delimiters.
Has anyone else encountered this issue, and can you confirm that it was
introduced by the update?
Thanks - Gordon
Thanks - Gordon