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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Any Apache heads out there?

  • 20-03-2006 10:19am
    #1
    Closed Accounts Posts: 25


    Hi there

    Time is of the essence here, hence the post. Can anyone tell me what is the most secure way of modifying your httpd.conf so that a website can still be accessed, but that the folders cannot be browsed using the browser?

    thanks in advance.


Comments

  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    To do it across the board on the server, comment out the mod_autoindex module at the top of the configuration.

    #LoadModule autoindex_module modules/mod_autoindex.so

    To do it for a particular VirtualHost when Indexing is the default, add -Indexes to an existing Options directive, or add one:

    Options -Indexes

    Beter yet, disable it for the default view, and only enable it when you specifically need it.

    adam


  • Closed Accounts Posts: 25 reptonite


    thanks Adam

    #LoadModule autoindex_module modules/mod_autoindex.so

    is already commented out in favour of

    LoadModule autoindex_color_module modules/mod_autoindex_color.so

    which if commented out means apache won't start.

    Cheers

    Mark


  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    Never heard of it, but if it's a direct replacement simply follow the instructions for one of the other two suggestions.


Advertisement