File: //usr/local/lsws/conf/templates/ccl.conf.txt
chrootmode 0
vhroot $SERVER_ROOT/$VH_NAME/
configfile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf
setuidmode 0
allowsymbollink 1
restrained 1
enablescript 1
virtualhostconfig {
docroot $VH_ROOT/html/
enablegzip 1
hotlinkctrl {
redirecturi
onlyself 1
allowedhosts
enablehotlinkctrl 0
suffixes gif, jpeg, jpg
allowdirectaccess 1
}
general {
enablecontextac 0
}
expires {
expiresdefault
enableexpires 1
}
rewrite {
enable 0
loglevel 0
}
index {
useserver 0
autoindex 0
indexfiles index.html
autoindexuri /_autoindex/default.php
}
accesslog $SERVER_ROOT/logs/$VH_NAME.access.log {
useserver 0
keepdays 30
rollingsize 100M
compressarchive 1
loguseragent 1
logreferer 1
}
errorlog {
useserver 1
}
context /cgi-bin/ {
type cgi
location $VH_ROOT/cgi-bin/
allowbrowse 1
}
context / {
allowbrowse 1
location $DOC_ROOT/
rewrite {
rules rewritefile .htaccess
unknownkeywords rewritefile .htaccess
}
}
awstats {
updatemode 0
sitealiases 127.0.0.1 localhost
updateinterval 86400
updateoffset 0
sitedomain localhost
workingdir $VH_ROOT/awstats
awstatsuri /awstats/
}
accesscontrol {
deny
allow *
}
}