Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
litespeed_wiki:config:authenticate [2018/06/18 13:24] Lisa Clarke Proofreading |
litespeed_wiki:config:authenticate [2020/09/16 17:42] (current) Lisa Clarke Added permissions line |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to Set Site Authentication ====== | ====== How to Set Site Authentication ====== | ||
- | Authentication is the process of confirming a user's identity, and it provides a way to ensure that legitimate users create content on your site. The steps in the methods below (Web GUI and By Hand) are interchangeable. You can manually create a database file and then load it via the WebConsole, and vice versa. | + | Authentication is the process of confirming a user's identity, and it provides a way to ensure that only legitimate users can create content on your site. The steps in the methods below (Web GUI and By Hand) are interchangeable. You can manually create a database file and then load it via the WebConsole, or vice versa. |
- | =====Method 1. Setup by Web GUI ===== | + | =====Method 1. Set up by Web GUI ===== |
==== Step 1.Create Authorization Realms DB ==== | ==== Step 1.Create Authorization Realms DB ==== | ||
We will create a new one as an example. | We will create a new one as an example. | ||
Line 33: | Line 33: | ||
{{:litespeed_wiki:config:realm-9.png?|}} | {{:litespeed_wiki:config:realm-9.png?|}} | ||
- | =====Method 2. Setup By Hand ===== | + | =====Method 2. Set up 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, making sure this file and its parent directory are both readable for the web server user (typically ''nobody'' or ''apache''): |
<code>htpasswd -c /PATH_YOU_WANT/TESTDB TEST</code> | <code>htpasswd -c /PATH_YOU_WANT/TESTDB TEST</code> |