Package: dokuwiki
Version: 0.0.20101107-1
Severity: important
Tags: patch

I encountered a permission issue when I tried to access a fresh installed
dokuwiki, configured with lighttpd instead of apache2. I can not access
to the wiki, I got a 403 error.

I finally found a solution: it was because fastcgi and fastcgi-php were
not enabled in lighttpd. You should consider to correct the postinst
script, in order to dokuwiki works out of the box. (I do not know if you 
can enable such modules in a non lighttpd related package).

The installed lighttpd version is 1.4.28-2

You can watch the problem described here: http://forum.dokuwiki.org/post/23046

patch:
--- postinst  2011-01-04 20:30:02.000000000 +0100
+++ postinst.new  2011-01-27 12:23:57.000000000 +0100
@@ -269,7 +269,7 @@
  else
    echo "Installing into... [$dir]" >/dev/stderr
    ln -sf /etc/dokuwiki/lighttpd.conf "$file"
-   lighty-enable-mod dokuwiki
+   lighty-enable-mod dokuwiki fastcgi fastcgi-php
  fi
fi
}

-- 
Jérôme 

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (990, 'testing'), (800, 'stable'), (700, 'unstable'), (600, 
'experimental'), (500, 'testing-proposed-updates'), (500, 'proposed-updates')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dokuwiki depends on:
ii  debconf [debconf-2.0]        1.5.36      Debian configuration management sy
ii  libphp-simplepie             1.2-1       RSS and Atom feed parsing in PHP
ii  php-geshi                    1.0.8.4-1   Generic Syntax Highlighter
ii  php5                         5.3.3-7     server-side, HTML-embedded scripti
ii  ucf                          3.0025+nmu1 Update Configuration File: preserv

Versions of packages dokuwiki recommends:
ii  imagemagick                  8:6.6.0.4-3 image manipulation programs
ii  php5-cli                     5.3.3-7     command-line interpreter for the p

Versions of packages dokuwiki suggests:
pn  libapache2-mod-xsendfile      <none>     (no description available)

-- debconf information:
* dokuwiki/system/configure-webserver: lighttpd
* dokuwiki/system/restart-webserver: true
  dokuwiki/wiki/policy: public
* dokuwiki/system/writeplugins: true
  dokuwiki/wiki/fullname: DokuWiki Administrator
* dokuwiki/wiki/license: cc-by-sa
* dokuwiki/system/documentroot: /doku
* dokuwiki/system/accessible: localhost only
* dokuwiki/wiki/title: chimere wiki
  dokuwiki/system/localnet: 10.0.0.0/24
  dokuwiki/wiki/superuser: admin
  dokuwiki/wiki/email: webmaster@localhost
  dokuwiki/wiki/failpass:
* dokuwiki/wiki/acl: true
* dokuwiki/system/writeconf: true
* dokuwiki/system/purgepages: false



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to