Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Apache - disable directory indexes

Options
  • 25-07-2005 10:07am
    #1
    Registered Users Posts: 1,653 ✭✭✭


    Hi,

    I've googled this and can't find the answer easily.

    How do I configure Apache (via httpd.conf) to disable all directory indexes on all directories on a web server: ie: disallow all directory listings in all directories and subdirectories ?

    Thanks


Comments

  • Registered Users Posts: 1,653 ✭✭✭m_stan


    found it - it's

    Options All -Indexes

    in .htaccess, not httpd.conf


  • Registered Users Posts: 7,739 ✭✭✭mneylon


    You can put it in your httpd.conf or in a .htaccess
    It shouldn't make any difference


Advertisement