Web Server - .htaccess files - NaviCOPA |
Top Previous Next |
|
A .htaccess file placed in a directory will control access to that directory.
An internet search will provide extensive information on this subject.
NaviCOPA supports a number of commands in these files. Here is a typical .htaccess file with an explanation of each part:
AuthUserFile C:\Documents and Settings\All Users\Application Data\InterVations\NaviCopa\passwords\mydomain.psw
NOTE that you must use the Password Generator included on the Start Menu in the NaviCOPA group - other such generators will not work with NaviCOPA
AuthName "This is a Password Protected Web Site"
<LIMIT GET POST>
require valid-user
</LIMIT>
DirectoryIndex alternative.htm another.html index.html
In the case above, if the URL http://www.mydomain.com were requested (no page specified), then alternative.htm would be served if it exists. If it does not exist, then another.html would be served, and if that didn't exist, then index.html would be served.
If none of these pages exist, then a 404 error page will be sent.
NaviCOPA Web Server for Windows Copyright © 2006 - 2007 InterVations, Inc. |