On Thu, 2009-02-26 at 18:02 +0100, Jonas Smedegaard wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> force-merge 452599 517246
> done
> 
> On Thu, Feb 26, 2009 at 04:34:59PM +0000, Sam Morris wrote:
> >Package: python-moinmoin
> >Version: 1.8.2-2
> >Severity: wishlist
> >
> >In my public_html directory I have the following symlink to enable access
> >to moin's static data:
> >
> >lrwxrwxrwx  1 sam sam   23 2008-06-28 14:44 moin_static -> 
> >/usr/share/moin/htdocs/
> >
> >moin expects to find fckeditor at /moin_static/applets/FCKeditor; however 
> >this
> >directory just contains a README file. It would be useful if you could 
> >replace
> >the directory with a symlink to /usr/share/fckeditor; that way I wouldn't 
> >have
> >to have a separate symlink and mod_rewrite rule to get the editor working 
> >after
> >installing the fckeditor package.
> 
> Thanks for the suggestion.
> 
> ...Frank Lin PIAT proposed something similar (just using Apache redirect 
> instead of symplink) just a few days ago, and was released last night 
> for Debian unstable. So this bugreport is a duplicate of bug#517246 
> already fixed. :-)

I was actually filing the bug to suggest using a symlink *instead* of
the apache redirect. The problem with the redirect is that it requires
configuring in apache's config, whereas changing the FCKeditor directory
into a symlink means that users who don't have access to the server
config can do it.

In my particular case I had to make a separate fckeditor symlink, and
then add "RewriteRule ^moin_static/applets/FCKeditor/(.*) /fckeditor/$1
[last]" to my .htaccess file; but not all users will be able to use
mod_rewrite. The symlink makes this additional step unnecessary.

Regards,

-- 
Sam Morris <[email protected]>



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

Reply via email to