Bug#611254: dokuwiki: Permission access issue with lighttpd
tag 611254 + wontfix thanks Tanguy Ortolo, 2011-01-27 12:54 UTC+0100: > I think I cannot. There may be several ways of running PHP, and if > installing the appropriate module package for a given web server does > not enable it, I do not think I should do it instead in my package. > > To rephrase it, if installing lighttpd and php5-cgi does not enable the > required modules, I will not mix up with it to enable them as it could > cause too much problems, so it will be the responsability of the user. Because of that, I am tagging this bug as wontfix. I am still open to any discussion or possible solution, of course. Librement, -- ,--. : /` ) Tanguy Ortolo | `-'Debian Maintainer \_ signature.asc Description: Digital signature
Bug#611254: dokuwiki: Permission access issue with lighttpd
Le jeudi 27 janvier 2011, Jerome Reybert a écrit : > 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). I think I cannot. There may be several ways of running PHP, and if installing the appropriate module package for a given web server does not enable it, I do not think I should do it instead in my package. To rephrase it, if installing lighttpd and php5-cgi does not enable the required modules, I will not mix up with it to enable them as it could cause too much problems, so it will be the responsability of the user. The default dependency resolutions installs apache2-mod-php5, that enables itself, and everything works. If you want to use an alternative server instead, as there is no package that enables everything needed, you will just get the correct packages installed by dependency and have to put the pieces together by hand. However, what I can do is to document that in the README.Debian, explaining that, outside of the default installation, enabling the correct modules is the responsibility of the user. I am open to better solutions, if you can suggest one. :-) -- ,--. : /` ) Tanguy Ortolo | `-'Debian Maintainer \_ signature.asc Description: Digital signature
Bug#611254: dokuwiki: Permission access issue with lighttpd
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.0 +0100 +++ postinst.new 2011-01-27 12:23:57.0 +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-geshi1.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 (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