Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Bug#458093: Apache2 overwrites index.html every time it is upgraded

From: Stefan Fritsch <sf(at)debian.org>
Date: Fri Dec 28 2007 - 20:53:35 EST


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

-- 
To UNSUBSCRIBE, email to debian-apache-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Fri Dec 28 21:15:31 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 02:59:28 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library