coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: karedokx on May 24, 2004, 12:29:34 PM

Title: [Solved]: Disabling Directory Browsing
Post by: karedokx on May 24, 2004, 12:29:34 PM
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.

Title: Re: Disabling Directory Browsing
Post by: Casper on May 24, 2004, 02:44:13 PM
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.
Title: Re: Disabling Directory Browsing
Post by: hyperion on May 24, 2004, 05:28:29 PM
You should also have your server configured to use index.php files as index pages.
Title: Re: Disabling Directory Browsing
Post by: karedokx on May 29, 2004, 03:11:28 PM
Thank you. I have applied the suggestion and it works.