mirror of
https://github.com/10h30/ols-docker-env.git
synced 2026-05-12 23:31:35 +09:00
ols1.5.10+wp
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
group1: user1,user2, user3
|
||||
group2:
|
||||
user: user8, test
|
||||
group3:
|
||||
@@ -0,0 +1,2 @@
|
||||
test:kF2EDBE2Ux8sQ
|
||||
user1:SQtevcsBBnBPY
|
||||
@@ -0,0 +1,95 @@
|
||||
docRoot $VH_ROOT/html/
|
||||
enableGzip 1
|
||||
|
||||
errorlog $VH_ROOT/logs/error.log {
|
||||
useServer 1
|
||||
logLevel DEBUG
|
||||
rollingSize 10M
|
||||
}
|
||||
|
||||
accesslog $VH_ROOT/logs/access.log {
|
||||
useServer 0
|
||||
rollingSize 10M
|
||||
keepDays 30
|
||||
compressArchive 0
|
||||
}
|
||||
|
||||
index {
|
||||
useServer 0
|
||||
indexFiles index.html, index.php
|
||||
autoIndex 0
|
||||
autoIndexURI /_autoindex/default.php
|
||||
}
|
||||
|
||||
errorpage 404 {
|
||||
url /error404.html
|
||||
}
|
||||
|
||||
scripthandler {
|
||||
add lsapi:lsphp php
|
||||
}
|
||||
|
||||
expires {
|
||||
enableExpires 1
|
||||
}
|
||||
|
||||
accessControl {
|
||||
allow *
|
||||
}
|
||||
|
||||
realm SampleProtectedArea {
|
||||
|
||||
userDB {
|
||||
location conf/vhosts/Example/htpasswd
|
||||
maxCacheSize 200
|
||||
cacheTimeout 60
|
||||
}
|
||||
|
||||
groupDB {
|
||||
location conf/vhosts/Example/htgroup
|
||||
maxCacheSize 200
|
||||
cacheTimeout 60
|
||||
}
|
||||
}
|
||||
|
||||
context / {
|
||||
location $DOC_ROOT/
|
||||
allowBrowse 1
|
||||
|
||||
rewrite {
|
||||
RewriteFile .htaccess
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
context /docs/ {
|
||||
location $SERVER_ROOT/docs/
|
||||
allowBrowse 1
|
||||
}
|
||||
|
||||
context /protected/ {
|
||||
location protected/
|
||||
allowBrowse 1
|
||||
realm SampleProtectedArea
|
||||
authName Protected
|
||||
required user test
|
||||
|
||||
accessControl {
|
||||
allow *
|
||||
}
|
||||
}
|
||||
|
||||
context /blocked/ {
|
||||
allowBrowse 0
|
||||
}
|
||||
|
||||
context /cgi-bin/ {
|
||||
type cgi
|
||||
location $VH_ROOT/cgi-bin/
|
||||
}
|
||||
|
||||
rewrite {
|
||||
enable 0
|
||||
logLevel 0
|
||||
}
|
||||
|
||||
@@ -0,0 +1,95 @@
|
||||
docRoot $VH_ROOT/html/
|
||||
enableGzip 1
|
||||
|
||||
errorlog $VH_ROOT/logs/error.log {
|
||||
useServer 1
|
||||
logLevel DEBUG
|
||||
rollingSize 10M
|
||||
}
|
||||
|
||||
accesslog $VH_ROOT/logs/access.log {
|
||||
useServer 0
|
||||
rollingSize 10M
|
||||
keepDays 30
|
||||
compressArchive 0
|
||||
}
|
||||
|
||||
index {
|
||||
useServer 0
|
||||
indexFiles index.html
|
||||
autoIndex 0
|
||||
autoIndexURI /_autoindex/default.php
|
||||
}
|
||||
|
||||
errorpage 404 {
|
||||
url /error404.html
|
||||
}
|
||||
|
||||
scripthandler {
|
||||
add lsapi:lsphp php
|
||||
}
|
||||
|
||||
expires {
|
||||
enableExpires 1
|
||||
}
|
||||
|
||||
accessControl {
|
||||
allow *
|
||||
}
|
||||
|
||||
realm SampleProtectedArea {
|
||||
|
||||
userDB {
|
||||
location conf/vhosts/Example/htpasswd
|
||||
maxCacheSize 200
|
||||
cacheTimeout 60
|
||||
}
|
||||
|
||||
groupDB {
|
||||
location conf/vhosts/Example/htgroup
|
||||
maxCacheSize 200
|
||||
cacheTimeout 60
|
||||
}
|
||||
}
|
||||
|
||||
context / {
|
||||
location $DOC_ROOT/
|
||||
allowBrowse 1
|
||||
|
||||
rewrite {
|
||||
RewriteFile .htaccess
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
context /docs/ {
|
||||
location $SERVER_ROOT/docs/
|
||||
allowBrowse 1
|
||||
}
|
||||
|
||||
context /protected/ {
|
||||
location protected/
|
||||
allowBrowse 1
|
||||
realm SampleProtectedArea
|
||||
authName Protected
|
||||
required user test
|
||||
|
||||
accessControl {
|
||||
allow *
|
||||
}
|
||||
}
|
||||
|
||||
context /blocked/ {
|
||||
allowBrowse 0
|
||||
}
|
||||
|
||||
context /cgi-bin/ {
|
||||
type cgi
|
||||
location $VH_ROOT/cgi-bin/
|
||||
}
|
||||
|
||||
rewrite {
|
||||
enable 0
|
||||
logLevel 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user