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

bdragon’s picture

Assigned: Unassigned » bdragon

Hmm, looks like I'll have to add a workaround.

bdragon’s picture

Version: 6.x-1.0-rc1 » 6.x-1.x-dev
Status: Active » Fixed

OK, 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

sjf’s picture

Stunning, thank-you. I will test this ASAP.

EDIT: Works perfectly. Cheers!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

chris55’s picture

Excuse 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