A number of advanced options are available to customize any .htaccess file using WebLogin:
- Service Names
- Instructions & Explanations
- Contact Information
- Require a Recent Login
- Complete Example (All Features)
Service Names
You can identify the service or resource being accessed by adding the variable WebloginOption app to your .htaccess file:
AuthType weblogin
WebloginOption app “Ask a Web Question”
<Limit GET POST>
require valid-user
</Limit>
Instructions & Explanations
You can add a brief set of instructions or explanations by adding the variable WebloginOption reason to your .htaccess file:
AuthType weblogin
WebloginOption reason “Access to this form is restricted to members of the BU Community.”
<Limit GET POST>
require valid-user
</Limit>
Contact Information
You can identify a help resource by adding the variable WebloginOption contact to your .htaccess file.
AuthType weblogin
WebloginOption contact “Non-BU Community Members may use bfenster.cms-devl.bu.edu/tech/contact/ to pose questions and provide feedback.”
<Limit GET POST>
require valid-user
</Limit>
Require a Recent Login
You can identify the service or resource being accessed by adding the variable WebloginKTTL to your .htaccess file, specifying the number of seconds before a WebLogin credential expires, forcing a user to log in again. Note that a user’s prior WebLogin credential may still be considered valid if you set this number high:
AuthType weblogin
WebloginKTTL 900
<Limit GET POST>
require valid-user
</Limit>
Complete Example (Full Features)
AuthType weblogin
WebloginKTTL 900
WebloginOption reason “Access to this form is restricted to members of the BU Community.”
WebloginOption app “Ask a Web Question”
WebloginOption contact “Non-BU Community Members may use bfenster.cms-devl.bu.edu/tech/contact/ to pose questions and provide feedback.”
<Limit GET POST>
require valid-user
</Limit>