Chris G | 9 Feb 23:07

Re: Can I display a local imaeg file in a DokuWiki page?

On Tue, Feb 09, 2010 at 04:12:39PM -0500, Jacob Steenhagen wrote:
>    It's generally considered bad security practice to allow a user to access
>    things stored at any arbitrary location of the server. The way you're
>    using it is actually quite rare.
> 
>    Have you tried simply creating a symlink inside <dokuwiki_root>/data/media
>    to /home/chris/pictures (and setting it up so the apache user has access
>    to your /home dir)?
> 
Yes, I was thinking that symlinks may be the way to go.  One can even
seet apache2's 'followsymlinks' so that apache can see the symlinked
file without exposing *everything* to the outside world.

What I *really* want is a way to tell dokuwiki that I want it to
create a symlink rather than copying the file.  As it is I'll have to
get dokuwiki to copy the file, then I delete it and put a symlink
there instead.

-- 
Chris Green

--

-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist


Gmane