Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using the private file system with my files directory outside of the webroot. Filefield/Imagefield and regular uploads work fine but my markers have disappeared. I've tried moving the js/gmap_markers.js into the new files directory and changing the permissions but I can't seem to get it to work.
Is there something else I need to do?
Comments
Comment #1
bdragon CreditAttribution: bdragon commentedHmm, looks like I'll have to add a workaround.
Comment #2
bdragon CreditAttribution: bdragon commentedOK, I added an additional option on the settings page, and a warning when it isn't configured properly, when private download method is in use.
http://drupal.org/cvs?commit=146835
http://drupal.org/cvs?commit=146836
Comment #3
sjf CreditAttribution: sjf commentedStunning, thank-you. I will test this ASAP.
EDIT: Works perfectly. Cheers!
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
chris55 CreditAttribution: chris55 commentedExcuse me if I'm being a total thicko, but this fix doesn't seem to work for me.
I use Drupal in a directory identified by a domain name which everyone uses. So the redirect from the Drupal root inevitably starts in ../ . But of course the system doesn't allow that.
I'm using .htaccess to protect upload files as I'm on a server which doesn't allow any other means of protection, and using the normal rewrite rules on subdirectories. So if I use misc/ that doesn't work and my knowledge of Apache directives is extremely rusty.
Since I assume this is a pretty normal state of affairs, what do I do?
Chris