Hi, I don't know if this is a drupal problem or something regarding apache settings. I'd like to have a folder where users can download files, go to other subfolder, but not delete, modify or create files. This feature is often given by apache itself, I believe. But, if I go to www.mysite.com/files/ I obtained a page not found, given by drupal. files is the folder that contain all my files, and this is the path that drupal uses for public method. If I write into my browser a correct filename, I can download it without problem, but if I put only te folder, instead of having the index I have the page not found error. Any suggestions? Bye and thanks.
-- Simone Dal Maso. Tutti i miei progetti: Spazioausili: consultazione, ricerca e commenti sugli ausili informatici per non vedenti: http://www.spazioausili.net
homepage sviluppo comunita' NVDA: www.nvda.it Visita il mio blog! http://simodm.blogspot.com homepage progetto musicale: www.juvox.it
On Mon, Dec 15, 2008 at 4:12 PM, Simone Dal Maso simone.dalmaso@juvox.it wrote:
Hi, I don't know if this is a drupal problem or something regarding apache settings. I'd like to have a folder where users can download files, go to other subfolder, but not delete, modify or create files. This feature is often given by apache itself, I believe.
Add a small .htaccess file in the directory you want, containing:
Options +Indexes
That should allow listing the files in that directory and all its subdirectories.
But, if I go to www.mysite.com/files/ I obtained a page not found, given by drupal. files is the folder that contain all my files, and this is the path that drupal uses for public method. If I write into my browser a correct filename, I can download it without problem, but if I put only te folder, instead of having the index I have the page not found error. Any suggestions? Bye and thanks.
-- Simone Dal Maso. Tutti i miei progetti: Spazioausili: consultazione, ricerca e commenti sugli ausili informatici per non vedenti: http://www.spazioausili.net
homepage sviluppo comunita' NVDA: www.nvda.it Visita il mio blog! http://simodm.blogspot.com homepage progetto musicale: www.juvox.it
-- [ Drupal support list | http://lists.drupal.org/ ]