Active
Project:
Filedrop
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2011 at 11:57 UTC
Updated:
31 Jan 2012 at 18:38 UTC
This module ended up costing me a lot more time than it was worth. It seems that all the files were uploaded simply into files/filedrop and not files/filedrop-private/filedrop/. So all the files are mislinked and everything uploaded can't be downloaded from the link provided in the module.
Note: I use nginx server.
Comments
Comment #1
techninja commentedAs I should probably should mention on the front page description, the secure file download is based on .htaccess file restrictions, which I'm pretty sure would only work for Apache (making them very secure, but server type sensitive).
I'm not running nginx anywhere at the moment, and unless you can either write a patch or find someone to implement the same type of protected directory implementation for nginx for filedrop, I'll have to unfortunately say "Sorry, can't do that."
Comment #2
markwk commentedAttached this issue to Drupal's main Nginx setup Octopus: #1351234: Add support for private files directory from filedrop module
Once it gets fixed there we can attach the relevant info back to filedrop. Nginx doesn't support .htaccess so changes must be made on the server level.
Comment #3
markwk commentedCheck this issue: #1351234: Add support for private files directory from filedrop module
One of the developers said using .htaccess is not the standard way to handle private file directories. I'll research this issue more about private files soon.
Comment #4
Grayside commentedThat is standard practice. However, one of Filedrop's use cases is to provide private file space inside an otherwise public filesystem. This is necessary to maintain adequate performance for files that don't need the protection. As there is no system in D6 for a hybridized approach along those lines, Filedrop has it's own. This is a non-issue for D7, and will greatly simplify the module once it is upgraded.
Comment #5
markwk commentedOh I totally understand how this works in terms of private files and performance. Oh well... I was hoping to use this module on a 10+ school setup with each school having their own site and groups, etc. Apache just isn't at all economical choice compared with Nginx.
Comment #6
Grayside commentedIf you can figure out how to do the same with nginx, we could support both.