Bug#458093: Apache2 overwrites index.html every time it is upgraded
On Friday 28 December 2007, Chris Carr wrote:
> When I upgraded from apache to apache2, that no longer worked,
> because the homepage was now /var/www/apache2-default/index.html
>
> Undaunted, I simply made that a symlink to the same file, and my
> homepage was restored.
This is not how it was intended. Comment out the line
RedirectMatch ^/$ /apache2-default/
in /etc/apache2/sites-available/default and apache will
use /var/www/index.html, which is not touched on upgrades.
I agree that it is a bug that this is not properly documented.
>
> Unfortunately, every time apache2 is upgraded, it trashes my
> symlink and installs its own default index.html (which just says
> "it works!").
Cheers,
Stefan
Reply to: