Browser Directory Blocking

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-17-2003
Laura P
 
Posts: n/a
Default Browser Directory Blocking

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.

Any ideas?
Thanks.
  #2 (permalink)  
Old 10-17-2003
Dan Wilga
 
Posts: n/a
Default Re: Browser Directory Blocking

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:11 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0