mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-07 11:46:39 +02:00
Initial commit for v2.4.3
This commit is contained in:
4
serverStatus/litespeed/conf/vhosts/Example/htgroup
Normal file
4
serverStatus/litespeed/conf/vhosts/Example/htgroup
Normal file
@@ -0,0 +1,4 @@
|
||||
group1: user1,user2, user3
|
||||
group2:
|
||||
user: user8, test
|
||||
group3:
|
||||
2
serverStatus/litespeed/conf/vhosts/Example/htpasswd
Normal file
2
serverStatus/litespeed/conf/vhosts/Example/htpasswd
Normal file
@@ -0,0 +1,2 @@
|
||||
test:kF2EDBE2Ux8sQ
|
||||
user1:SQtevcsBBnBPY
|
||||
119
serverStatus/litespeed/conf/vhosts/Example/vhconf.conf
Normal file
119
serverStatus/litespeed/conf/vhosts/Example/vhconf.conf
Normal file
@@ -0,0 +1,119 @@
|
||||
docRoot $VH_ROOT/html/
|
||||
enableGzip 1
|
||||
|
||||
context /docs/{
|
||||
allowBrowse 1
|
||||
location $SERVER_ROOT/docs/
|
||||
type NULL
|
||||
}
|
||||
|
||||
context /protected/{
|
||||
required user test
|
||||
authName Protected
|
||||
type NULL
|
||||
allowBrowse 1
|
||||
location protected/
|
||||
realm SampleProtectedArea
|
||||
|
||||
accessControl {
|
||||
deny
|
||||
allow *
|
||||
}
|
||||
}
|
||||
|
||||
context /blocked/{
|
||||
allowBrowse 0
|
||||
type NULL
|
||||
}
|
||||
|
||||
context /cgi-bin/{
|
||||
allowBrowse 1
|
||||
location $VH_ROOT/cgi-bin/
|
||||
type cgi
|
||||
}
|
||||
|
||||
expires {
|
||||
enableExpires 1
|
||||
}
|
||||
|
||||
index {
|
||||
autoIndexURI /_autoindex/default.php
|
||||
indexFiles index.html
|
||||
autoIndex 0
|
||||
useServer 0
|
||||
}
|
||||
|
||||
errorPage 404{
|
||||
url /error404.html
|
||||
}
|
||||
|
||||
errorlog $VH_ROOT/logs/error.log{
|
||||
logLevel DEBUG
|
||||
rollingSize 10M
|
||||
useServer 1
|
||||
}
|
||||
|
||||
accessLog $VH_ROOT/logs/access.log{
|
||||
compressArchive 0
|
||||
logReferer 1
|
||||
keepDays 30
|
||||
rollingSize 10M
|
||||
logUserAgent 1
|
||||
useServer 0
|
||||
}
|
||||
|
||||
htAccess {
|
||||
accessFileName .htaccess
|
||||
allowOverride 0
|
||||
}
|
||||
|
||||
awstats {
|
||||
updateInterval 86400
|
||||
workingDir $VH_ROOT/awstats
|
||||
updateOffset 0
|
||||
siteDomain localhost
|
||||
siteAliases 127.0.0.1 localhost
|
||||
updateMode 0
|
||||
awstatsURI /awstats/
|
||||
}
|
||||
|
||||
rewrite {
|
||||
enable 0
|
||||
logLevel 0
|
||||
|
||||
rules <<<END_rules
|
||||
RewriteCond %{HTTP_USER_AGENT} ^NameOfBadRobot
|
||||
RewriteRule ^/nospider/ - [F]
|
||||
END_rules
|
||||
}
|
||||
|
||||
hotlinkCtrl {
|
||||
suffixes gif, jpeg, jpg
|
||||
allowedHosts
|
||||
allowDirectAccess 1
|
||||
enableHotlinkCtrl 0
|
||||
onlySelf 1
|
||||
}
|
||||
|
||||
accessControl {
|
||||
deny
|
||||
allow *
|
||||
}
|
||||
|
||||
realm SampleProtectedArea {
|
||||
userDB {
|
||||
cacheTimeout 60
|
||||
maxCacheSize 200
|
||||
location $SERVER_ROOT/conf/vhosts/Example/htpasswd
|
||||
}
|
||||
|
||||
groupDB {
|
||||
cacheTimeout 60
|
||||
maxCacheSize 200
|
||||
location $SERVER_ROOT/conf/vhosts/Example/htgroup
|
||||
}
|
||||
}
|
||||
|
||||
general {
|
||||
enableContextAC 0
|
||||
}
|
||||
Reference in New Issue
Block a user