Forum Moderators: phranque

Message Too Old, No Replies

View files in a folder without an index page

no index page inside a folder

         

alantone

2:50 am on Jul 22, 2006 (gmt 0)

10+ Year Member



I remember on a server I had a few years ago, that if you accessed the web address of a folder that didn't have an index page, it would give you a list of the files within that folder.

I now have a new server that gives me a Forbidden (403) error when I do that. I have some client image folders that I need to be able to view the files in without creating, or updating an index page for.

I'm running perl-apache-asp build 2.59-fc4.build80060331.13 on a GenuineIntel, Intel(R) Pentium(R) 4 CPU 3.00GHz
Version psa v8.0.0_build80060331.13 os_FedoraCore 4
OS Linux 2.6.17-1.2142_FC4

The folders I need to do this on are for realtor photos so that they can download them to their desktop. (www.mydomain.com/realtor_name/gallery_images)

I realize there is probably some security issues with this. Can I just allow this activity, on all folders named 'gallery'

Thanks, Alan

coopster

4:58 pm on Jul 22, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, alantone.

The configuration directive you need to know about is Apache's DirectoryIndex [httpd.apache.org]. Have a read through the documentation (all of mod_dir, actually) and give it your best effort. If you are still stuck, let us know.