PROTECTING WITH .htaccess
edit the '.htaccess' file if you are using MS FrontPage!
FrontPage uses the .htaccess file, and editing it may cause
errors in your configuration.
in the directory that you want to protect. The
can be placed in one or more of your
This file can be used to restrict access to other files and
a request for a web page is made, the web server first checks
for an .htaccess
The server begins this check by looking for .htaccess
root of the current web directory, and on down the directory
tree until it reaches the the directory where the requested
file resides. Since the placement of the
determines when it is executed, this fact can be used to
restrict access only in certain sub-directories.
Access: Password Protection
directory you want protected must have an .htaccess
file in it
that looks like the following:
AuthName "Access by password Only"
<Limit GET POST>
require group groupname
require user username
and users are stored in the Group
file, and passwords are stored in
for these files in the
Do not attempt to edit these manually!
special script you can use to manage your Group
(the "Webmister" script).
allows you to send the user to, for example,
they attempt to access
see this example in practice, simply add the following line
(This should be typed as one single line without breaks) to
has a nice FAQ on redirects.