[Solved]: Disabling Directory Browsing [Solved]: Disabling Directory Browsing
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

[Solved]: Disabling Directory Browsing

Started by karedokx, May 24, 2004, 12:29:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

karedokx

Hi, I'm new here. I am new in website development and have just got the cool Coppermine installed.

I found that Coppermine allows the "directory browsing". See http://coppermine.sourceforge.net/demo/bridge/ for example.

How can I turn the "directory browsing" off? It is actually ok the allow users access the directory (such as that "bridge" directory)?

Thanks in advance.


Casper

Simply put an empty index.html file in the folder, or one with a re-direct, such as the one in the albums folder in version 1.3.  Most folders already have this.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

hyperion

You should also have your server configured to use index.php files as index pages.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

karedokx

Thank you. I have applied the suggestion and it works.