|
From: Ben W. <be...@re...> - 2009-08-11 22:47:25
|
Hi,
Victor Stone wrote:
> - For the main ('media') virtual root, in admin/formats uncheck
> everything but ZIP
> - Create a new virtual root in admin/cfgroot called 'submitall'
> - In that virtual root, submitall/admin/formats check the formats you
> want to allow
>
> Now add the following two rules in .htaccess
>
> RewriteRule ^(media/)?file/add/([0-9]+)$ submitall/file/add/$2 [L,R]
> RewriteRule ^submitall/file/manage/([0-9]+)$ media/file/manage/$1 [L,R]
This is a big step forward, for sure.
Right now I'm having a nightmare with my rewrite rules, creating nasty
loops which I cannot fathom. I moved these from a cchost-generated
.htaccess file into an Apache virtual host, so I'm not working in quite
the same setup that you describe.
But that's my problem. What I wonder is whether the virtual roots can
have different pseudo-verifier options?
I'm still on 5.0.1 and all the formats I need to remove are
pseudo-verified, with the exception of GIF, JPEG, PNG... First
impressions suggest that the pseudoverifier is global and I will see all
pseudoverified formats in all virtual roots :-(
Cheers,
Ben
--
Ben Weiner | http://readingtype.org.uk/about/contact.html
|