Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 6 of 6

This is a discussion on Index Browsing?? in the Open Discussion & Chit-chat forum
Sorry if this is a dumb question, but how do I turn off index browsing on my site and should I? ...

  1. #1
    JPC Member
    Join Date
    Jul 2005
    Posts
    6

    Index Browsing??

    Sorry if this is a dumb question, but how do I turn off index browsing on my site and should I?

  2. #2
    JPC Guru
    Join Date
    Jan 2004
    Location
    I'm right behind you....
    Posts
    389
    Well, you could always just put a blank index.html page in every directory that you don't want people browsing in. However, cPanel does provide an easy way to do it. The Index Manager allows you to turn off directory indexing. You'll find it under "Services" (2nd from the bottom in that category).

  3. #3
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,304
    It should be off by default, I think? But if it isn't, in your docroot directory
    /home/youname/www
    create a file by the name of .htaccess
    and place the following line
    OPTIONS -INDEXES

    That should turn it off for all directories.

  4. #4
    coin operated boy Rye Seronie Oh's Avatar
    Join Date
    Mar 2005
    Location
    Crosby, TX
    Posts
    125
    I thought .htaccess files were case sensitive? The line I use is this:

    Options -Indexes
    Ryan Ottele
    Web: http://www.sparkeh.com/
    Mail: ryan.ottele[[@]]gmail.com

  5. #5
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    Nope...

    Directives in the configuration files are case-insensitive, but arguments to directives are often case sensitive. Lines which begin with the hash character "#" are considered comments, and are ignored. Comments may not be included on a line after a configuration directive. Blank lines and white space occurring before a directive are ignored, so you may indent directives for clarity.
    (http://httpd.apache.org/docs/1.3/con...ng.html#syntax)
    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  6. #6
    JPC Member
    Join Date
    Jul 2005
    Posts
    6
    Thanks for all of the replies, I think I have what I need.

Bookmarks

Posting Permissions

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