This is an old revision of the document!


Method 1. Through realm

Step 1.Create Authorization Realms DB

We will create a new one as example

Choose DB type as Password File

Set:

  1. Realm name, e.g. TEST
  2. DB Location, e.g. $VH_ROOT/conf/TESTDB

Step 2.Create Auth user

Set e.g. User/Password TEST/TEST

Step 3. Create Context

Select type as Static Set:

  1. URI /
  2. Set Location $VH_ROOT/html/
  3. Accessible Yes
  4. Realm TEST
  5. Access Allowed *

How to Verify

Access the site will require auth login

  • Admin
  • Last modified: 2018/06/15 16:17
  • by Eric Leu