Results 1 to 4 of 4
-
02-25-2004, 11:42 PM #1Junior Guru Wannabe
- 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?
-
02-26-2004, 12:12 AM #2is a threadkiller
- Join Date
- Jan 2002
- Location
- Ohio
- Posts
- 3,155
Put this in your httpd.conf file, or in an .htaccess file...
Code:Options -Indexes
Assuming you're talking about apache, and people browsing directories in a browser.Don't like what I say? Ignore me.
-
02-26-2004, 12:26 AM #3Web Hosting Master
- Join Date
- Feb 2003
- Location
- Kuala Lumpur, Malaysia
- Posts
- 4,980
How bout making it global config?
-
03-24-2004, 01:24 AM #4Web Hosting Evangelist
- Join Date
- Feb 2004
- Posts
- 466
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.