You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.1 KiB
58 lines
1.1 KiB
![]()
5 years ago
|
vhRoot /var/www/vhosts/$VH_NAME/
|
||
|
configFile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf
|
||
|
allowSymbolLink 1
|
||
|
enableScript 1
|
||
|
restrained 1
|
||
|
setUIDMode 0
|
||
|
|
||
|
virtualHostConfig {
|
||
|
docRoot $VH_ROOT/html/
|
||
|
enableGzip 1
|
||
|
|
||
|
errorlog {
|
||
|
useServer 1
|
||
|
}
|
||
|
|
||
|
accesslog $SERVER_ROOT/logs/$VH_NAME.access.log {
|
||
|
useServer 0
|
||
|
rollingSize 100M
|
||
|
keepDays 30
|
||
|
compressArchive 1
|
||
|
}
|
||
|
|
||
|
index {
|
||
|
useServer 0
|
||
|
indexFiles index.html, index.php
|
||
|
autoIndex 0
|
||
|
autoIndexURI /_autoindex/default.php
|
||
|
}
|
||
|
|
||
|
expires {
|
||
|
enableExpires 1
|
||
|
}
|
||
|
|
||
|
accessControl {
|
||
|
allow *
|
||
|
}
|
||
|
|
||
|
context /cgi-bin/ {
|
||
|
type cgi
|
||
|
location $VH_ROOT/cgi-bin/
|
||
|
}
|
||
|
|
||
|
context / {
|
||
|
location $DOC_ROOT/
|
||
|
allowBrowse 1
|
||
|
|
||
|
rewrite {
|
||
|
RewriteFile .htaccess
|
||
|
}
|
||
|
}
|
||
|
|
||
|
rewrite {
|
||
|
enable 0
|
||
|
logLevel 0
|
||
|
}
|
||
|
}
|
||
|
|