Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2003
    Posts
    95

    How can I disble the browsing directory function?

    i hav root acces to my cpanel server.
    How can I disble the browsing directory function?

  2. #2
    Join Date
    Jan 2002
    Location
    Ohio
    Posts
    3,155
    Put this in your httpd.conf file, or in an .htaccess file...

    Code:
    Options -Indexes
    Edit:
    Assuming you're talking about apache, and people browsing directories in a browser.
    Don't like what I say? Ignore me.

  3. #3
    Join Date
    Feb 2003
    Location
    Kuala Lumpur, Malaysia
    Posts
    4,980
    How bout making it global config?

  4. #4
    Join Date
    Feb 2004
    Posts
    466

    Thumbs up

    in the file manager of the Cpanel edit the .htaccess file

    add this line

    IndexIgnore *



    without cpanel, you can find the info here:
    http://www.javascriptkit.com/howto/htaccess11.shtml




    it might not be the newest topic here but i was searching this at the boards and i found that site in google, thought it's a good reference to have around the board, check out that site, also explains how to avoid hotlinking.


Posting Permissions

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