[Bug 1416885] Re: Default DocumentRoot migration occurs even if /var/www/html was already being used
Chaskiel Grundman
1416885 at bugs.launchpad.net
Thu Mar 31 14:30:14 UTC 2016
Jessie's apache2 2.4.10 looks very different:
if is_fresh_install $@ || we_are_upgrading_from_wheezy $@ ; then
local do_copy=true
local dir ext
for dir in /var/www /var/www/html ; do
for ext in html cgi pl php xhtml htm ; do
if [ -e $dir/index.$ext ] ; then
do_copy=false
break 2
fi
done
if [ -h $dir/index.html ] ; then
do_copy=false
break
fi
done
if $do_copy ; then
cp /usr/share/apache2/default-site/index.html /var/www/html/index.html
fi
fi
A possible source of this change is:
apache2 (2.4.9-2) unstable; urgency=medium
* Fix logic in postinst to detect existing index.* files in both
DocumentRoots, the old /var/www and the new /var/www/html. Also
change the compiled in default DocumentRoot to /var/www/html.
Closes: #743915
(but the bug description does not match this change)
Note that if you decide to request that I interact with debian anyway,
just close the bug instead. I made this report as a courtesy so that
other users could avoid being affected, not so I could do more work.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1416885
Title:
Default DocumentRoot migration occurs even if /var/www/html was
already being used
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1416885/+subscriptions
More information about the Ubuntu-server-bugs
mailing list