-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Feb 26, 2009 at 05:38:58PM +0000, Sam Morris wrote: >On Thu, 2009-02-26 at 18:02 +0100, Jonas Smedegaard wrote: >> On Thu, Feb 26, 2009 at 04:34:59PM +0000, Sam Morris wrote: >> >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.
Ah, ok. Convenient, then, that I failed to merge the bugs as intended :-) >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. I fail to understand: In which cases do you have access to install moin as a Debian package, but not to edit the Apache config? - Jonas - -- * Jonas Smedegaard - idealist og Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkmm2sYACgkQn7DbMsAkQLjP/ACfYrrdV9q23rBqfqHxXJPmpfhJ aKkAn1rIMKnu8MNXj9xcFnd5SmRrZSfr =RyS+ -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

