The following list shows the parameters which are recognized in the Access Control File. Order is not important, parameters that do not apply to the authorization method specified will be ignored.
A sample htaccess file illustrates the proper file format.
* - New in v2.01.9
** - New in v2.01.9-N
Acceptable values are "BASIC" and "IDENT".
The entire remainder of the line following the ":" will be considered the value of the Realm.
Special Note: the filename must contain a complete path and filename. (E.g. "d:\path\filename.ext")
The AuthUserFile is a text file, with each line containing a userid and a password, in
the format:
user:password
(Password is currently only supported in unencrypted form.)
Special Note: the filename must contain a complete path and filename. (E.g. "d:\path\filename.ext")
The AuthGroupFile is a text file, with each line containing a groupname and a list of users, in
the format:
group:user1 user2 user3 ...
Usernames must be defined in the AuthUserFile to have a password associated with it. Since the IDENT method does not employ passwords, the AuthUserFile is not necessary when using this method.
verb list...
where:
For example, "index.htm index.html welcome.html" is the global default list. A request for "/foo/" will cause the system to attempt to return the file "/foo/index.htm", if it exists. Otherwise it will move to the next item in the list and try again. Using this parameter in a htaccess file in the "/foo" directory allows one to specify the default name (E.g. to "sample.html") for this directory and all child subdirectories...
BuildDir: 0
The value "0" disables the automatic creation of the directory index, while any other value following the ":" will activate the function if disabled.
Format:
Dir.Exclude: filenam1.ext filenam2.ext filenam3.ext ...
Format: (Same as 'Dir.Exclude'.)
Format:
Dir.Info: [d:\path\]filename.ext
Format:
Dir.Describe: [d:\path\]filename.ext
The file should be formatted like a 4OS/2 descript.ion file with the name of the file followed by the description. Long file names containing blanks must be in double quotes.
Format:
Dir.Forbid: n
Where "n" is either "1" or "0". (Boolean) If "0", Directory building will be enabled. If "1", then Directory building will be disabled. This is redundant with 'Dir.Build', but is implemented here for compatibility with Albert's code.
Format:
Dir.Builder: filename.ext
Note: The REXX module must reside in the GoServe directory on the server. (Albert's code to allow subdirectories for external REXX functions had a few nasty problems with multithreading/multtasking.)
Format:
EnablePostProcess: 2
Where:
0 - disable all post-processing
1 - enable post-processing on all files with an extension of ".*HTM*"
2 - enable post-processing only on files with a ".SHTML" extension