Comment 11 for bug 1416885

Chaskiel Grundman (cg2v) wrote :

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.