I have a fresh setup of Drupal 7.7 and I am running into a problem with the private file system.

If I put a link in a page with the private system url (e.g. href="/?q=system/files/privatefile.doc" ) everything works as it should. But if I have the file in a sub folder (e.g. href="/?q=system/files/subfolder/privatefile.doc" ) then I get a 404 "Page not found" error.

I've uploaded the files via imce and the entries get made to the file_managed table. The file name and uri are correct in the table record.

Not sure if this is a bug or by design...

Config = Windows server 2003, IIS 6, PHP 5.2.x, MySQL 5.0.x

Cheers,

Wade

Comments

hedroom’s picture

Status: Active » Closed (works as designed)

Upon further review, it turns out that this was a configuration problem with IMCE. Once i had thing setup properly, the private/public file system works as expected...

Wade

raydenxxx’s picture

Version: 7.7 » 7.8

Hello,
what was your solution? Because I have the same problem...

Thanks

raydenxxx’s picture

Issue summary: View changes

Added MySQL version to text