Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:config:authenticate [2018/06/15 20:56] Eric Leu [Step 2. Add Access Requite by htaccess] |
litespeed_wiki:config:authenticate [2018/06/15 20:58] Jonathan Kagan [Method 2. Setup from console] |
||
---|---|---|---|
Line 33: | Line 33: | ||
{{:litespeed_wiki:config:realm-9.png?|}} | {{:litespeed_wiki:config:realm-9.png?|}} | ||
- | =====Method 2. Setup from console ===== | + | =====Method 2. Setup By Hand ===== |
====Step1. Create account through htpasswd ==== | ====Step1. Create account through htpasswd ==== | ||
Run the following command to generate TESTDB file from console | Run the following command to generate TESTDB file from console | ||
Line 49: | Line 49: | ||
Require valid-user | Require valid-user | ||
</code> | </code> | ||
- | - AuthName can be set to any, e.g. ''TEST'' | + | * AuthName can be set to any, e.g. ''TEST'' |
- | - AuthUserFile need a valid file, e.g.''/usr/local/lsws/DEFAULT/conf/TESTDB'' | + | * AuthUserFile need a valid file, e.g.''/usr/local/lsws/DEFAULT/conf/TESTDB'' |
===== How to Verify ===== | ===== How to Verify ===== |