This is a discussion on Browser Directory Blocking within the Linux Web Servers forums, part of the Web Server and Related Forums category; I'm not sure how to keep the directory from showing in the browser. We have teacher answer keys loaded ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
In article <d6ac7656.0310170755.50f1d97d@posting.google.com >,
clcsupport@greenbush.org (Laura P) wrote: > I'm not sure how to keep the directory from showing in the browser. > We have teacher answer keys loaded in a file and want them not to be > accessed from the web directly, but through links we post. Assuming your site allows this option to be used, you can create a ..htaccess file in the directory with just this line in it: Options -Indexes If this option is disabled by your site's administrator, then you can always just create a blank index.html (or other appropriately-named file) in the directory. -- Dan Wilga dwilga-MUNGE@mtholyoke.edu ** Remove the -MUNGE in my address to reply ** |
| Thread Tools | |
| Display Modes | |
|
|