17 lines
401 B
Plaintext
17 lines
401 B
Plaintext
|
|
# WordOps (wo) Access Control - OpenLiteSpeed
|
||
|
|
# Protect locations using HTTP authentication or IP address
|
||
|
|
realm WordOpsAdmin {
|
||
|
|
userDB {
|
||
|
|
location /usr/local/lsws/conf/htpasswd-wo
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
context / {
|
||
|
|
realm WordOpsAdmin
|
||
|
|
authName "Restricted Area"
|
||
|
|
required valid-user
|
||
|
|
accessControl {
|
||
|
|
allow 127.0.0.1, ::1
|
||
|
|
}
|
||
|
|
}
|