Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [Solved]: Disabling Directory Browsing  (Read 2294 times)

0 Members and 1 Guest are viewing this topic.

karedokx

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
[Solved]: Disabling Directory Browsing
« 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.

« Last Edit: May 30, 2004, 06:40:43 pm by GauGau »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Disabling Directory Browsing
« Reply #1 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.
Logged
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

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Re: Disabling Directory Browsing
« Reply #2 on: May 24, 2004, 05:28:29 pm »

You should also have your server configured to use index.php files as index pages.
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

karedokx

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Disabling Directory Browsing
« Reply #3 on: May 29, 2004, 03:11:28 pm »

Thank you. I have applied the suggestion and it works.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 15 queries.