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

Bug#436341: Apache's default site not enabled on new install



Package: apache2
Version: 2.2.4-2

Reported on Launchpad:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/130625

When a new install is performed, the default site configuration
(/etc/apache2/sites-enabled/000-default) is not linked from
/etc/apache2/sites-available/default.

This is probably due to the addition of /etc/apache2/ports.conf as a
conffile managed by dpkg.

The postinst script from apache2-common checks whether
/etc/apache2/ports.conf exists or not. If it exists, it will consider
upgrade from_2_0. Thus it never gets to install the default site as this
is only done on new_install.

Step to reproduce:
1. Install apache2.
2. Point a browser to the website

Result:
404 Not Found

Expected result:
The default site.




Reply to: