Results 1 to 3 of 3

Thread: Disabling directory listing with .htaccess

  1. #1

    Disabling directory listing with .htaccess

    I've googled around for about an hour and come up with nothing. Basically, I'd like to stop a directory from displaying a directory listing through an .htaccess file. Is it possible?

  2. #2
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001

    Re:Disabling directory listing with .htaccess

    Why you want to complicate things with .htaccess where you can do by unloading a module in httpd.conf file??

    If you don't want Apache to display directory listing, uncomment the line for in DSO support area of httpd.conf file.

    If you want other directories to display directory listing but not a specific directory, you have to do with password access to that directory.

    Or leave the page in cgi-bin directory which has directory listing disabled.


  3. #3

    Re:Disabling directory listing with .htaccess

    Okay, thanks

Similar Threads

  1. Problems for NAT FTP client listing directory
    By Evil Otto in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 01-17-2007, 06:15 AM
  2. Listing bandwidth use by process
    By trickster in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 11-23-2005, 07:20 PM
  3. mail listing
    By bYTeGr4v3 in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 12-17-2002, 12:38 AM
  4. listing file in *.tar.gz/*.tgz
    By Blaqb0x in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 11-03-2002, 04:29 AM
  5. Recent Posts Listing
    By bdl in forum Announcements and Suggestions
    Replies: 6
    Last Post: 09-15-2001, 10:07 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts