Forum Moderators: phranque
Typically, you have a folder with pictures in it and no index.html file.
Then, when somebody accesses your site with h*ttp://my.site.com/pictures/ they'll get a listing of the pictures in your folder.
If you take a closer look at the server-log you'll see that these lines come in groups of typically four corresponding to the column headers of the folder listing.
It's a server setup issue:
- Sometimes you want to enable folder listing for the whole site
- Sometimes you don't want this feature at all
- Sometimes you want to enable/disable on a folder-by-folder basis
That's up to you to decide.
You might or might not want to have people to have direct access to your pictures. I can't tell what's right for your.
If you don't have the possibility to modify the access-rights on the server, the easy way to get around the problem is to insert an index.html file with just a <meta http-equiv="refresh" content="1;url=/"> making everybody go somewhere else.