The post-installation script which reports the
error is

    /var/lib/dpkg/info/dokuwiki.postinst

It seems to me that the relevant code in it is a
function named "write_htaccess()", which starts
as...

    # Create a .htaccess sample file for dokuwiki
    write_htaccess()
    {
        # Restore the backup of the .htaccess that used to be part of the
        # package and would have been lost. See preinst.
        if [ -f /usr/share/dokuwiki/.htaccess.upgrade ]
        then
            mv /usr/share/dokuwiki/.htaccess.upgrade /etc/dokuwiki/htaccess
        fi

        # A previous versions of this script, 0.0.20091225c-4, used to restore 
the
        # backup *after* ucf. As this erased the followin official modification
        # after ucf, let us make it back before ucf.
        if [ -e /etc/dokuwiki/local.php ]; then
            sed -i -e '/^php_value auto_prepend_file 
"\/usr\/share\/dokuwiki\/prepend.php"$/,+1d' /etc/dokuwiki/htaccess
        fi

As you can see, /etc/dokuwiki/htaccess is only
created if /usr/share/dokuwiki/.htaccess.upgrade
exists.

At least on my computer, it doesn't exist.

It's not a crisis in my case, but I should
probably also mention that I can no longer access
dokuwiki content at 

    http://localhost:<port>/dokuwiki/doku.php

Thanks,
Kingsley




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to