Le samedi 28 août 2010, WC Jones a écrit : > This Debian 'wish list' bug is regarding having the image layout (IE, > /usr/share/dokuwiki/lib/images/) NOT being left as part of the > Dokuwiki Debian layout -- because doing so makes it harder to secure > and still be able to share/use 'smileys' etc in rendered content... > For example, > […] > > Where /images is a /var/www (public access) symbolic link to > .DOKU_BASE.lib/images/ using: > cd /var/www && ln -s /usr/share/dokuwiki/lib/images . > > My site has an internally accessible wiki for editing but serves the > content via a special PHP content washer to the unauthenticated > public; by having /usr/share/dokuwiki/lib/images/ as part of > /usr/share/dokuwiki (DOKU_BASE) the security model of denying access > (see below) makes images not render-able.
I am not sure to really understand what you want to do. Are you trying to deny web access to all /usr/share/dokuwiki/lib? That would be completely unsupported, as (from the officiel documentation [1]): >> lib – Files that get called externally (from your browser) [1] http://www.dokuwiki.org/devel:dirlayout -- Tanguy Ortolo
signature.asc
Description: Digital signature