全球主机交流论坛
标题:
发个 LiteSpeed的网站配置文件,包括awstats可用
[打印本页]
作者:
Cat
时间:
2010-9-18 16:54
标题:
发个 LiteSpeed的网站配置文件,包括awstats可用
<?xml version="1.0" encoding="UTF-8"?>
<virtualHostConfig>
<docRoot>$VH_ROOT/www/imcat</docRoot>
<adminEmails></adminEmails>
<enableGzip>1</enableGzip>
<logging>
<log>
<useServer>0</useServer>
<fileName>$VH_ROOT/logs/imcat.error.log</fileName>
<logLevel>DEBUG</logLevel>
<rollingSize>10M</rollingSize>
</log>
<accessLog>
<useServer>0</useServer>
<fileName>$VH_ROOT/logs/imcat.access.log</fileName>
<pipedLogger></pipedLogger>
<logHeaders></logHeaders>
<rollingSize>100M</rollingSize>
<keepDays>7</keepDays>
<bytesLog></bytesLog>
<compressArchive>0</compressArchive>
</accessLog>
</logging>
<index>
<useServer>0</useServer>
<indexFiles>index.php,index.htm,index.html</indexFiles>
<autoIndex>0</autoIndex>
<autoIndexURI>/_autoindex/default.php</autoIndexURI>
</index>
<customErrorPages>
<errorPage>
<errCode>404</errCode>
<url>/error404.html</url>
</errorPage>
</customErrorPages>
<htAccess>
<allowOverride>31</allowOverride>
<accessFileName>.htaccess</accessFileName>
</htAccess>
<expires>
<enableExpires>1</enableExpires>
<expiresDefault></expiresDefault>
</expires>
<security>
<hotlinkCtrl>
<enableHotlinkCtrl>0</enableHotlinkCtrl>
<suffixes>gif, jpeg, jpg</suffixes>
<redirectUri></redirectUri>
<allowDirectAccess>1</allowDirectAccess>
<onlySelf>1</onlySelf>
<allowedHosts></allowedHosts>
</hotlinkCtrl>
<accessControl>
<allow>*</allow>
<deny></deny>
</accessControl>
<realmList>
<realm>
<type>file</type>
<name>SampleProtectedArea</name>
<userDB>
<location>$VH_ROOT/conf/htpasswd</location>
<maxCacheSize>200</maxCacheSize>
<cacheTimeout>60</cacheTimeout>
</userDB>
<groupDB>
<location>$VH_ROOT/conf/htgroup</location>
<maxCacheSize>200</maxCacheSize>
<cacheTimeout>60</cacheTimeout>
</groupDB>
</realm>
</realmList>
</security>
<rewrite>
<enable>0</enable>
<logLevel>0</logLevel>
<rules>RewriteCond %{HTTP_USER_AGENT} ^NameOfBadRobot
RewriteRule ^/nospider/ - [F]</rules>
</rewrite>
<frontPage>
<enable>0</enable>
<disableAdmin>0</disableAdmin>
<domainNames></domainNames>
</frontPage>
<awstats>
<updateMode>2</updateMode>
<workingDir>$VH_ROOT/awstats</workingDir>
<awstatsURI>/awstats/</awstatsURI>
<siteDomain>imcat.in</siteDomain>
<siteAliases>127.0.0.1</siteAliases>
<updateInterval>86400</updateInterval>
<updateOffset>0</updateOffset>
<securedConn>0</securedConn>
<realm>SampleProtectedArea</realm>
</awstats>
</virtualHostConfig>
复制代码
$VH_ROOT 等于Virtual Host Root的路径
作者:
ATOM
时间:
2010-9-18 17:17
还是写教程吧,配置文件更不会用。
作者:
wske
时间:
2010-9-18 17:21
提示:
作者被禁止或删除 内容自动屏蔽
作者:
Favsky
时间:
2010-9-18 17:57
极度支持
作者:
lemss
时间:
2010-9-18 18:28
支持一下
作者:
老包子
时间:
2010-9-19 09:02
又看到大脸早饭差点都吐出来了.
作者:
Cat
时间:
2010-9-19 09:34
标题:
回复 6# 的帖子
哈哈哈..我是自动屏蔽他的头像的
作者:
yeasiz
时间:
2010-9-19 09:35
支持一下
作者:
klboy
时间:
2010-9-19 09:38
提示:
作者被禁止或删除 内容自动屏蔽
作者:
酥油茶
时间:
2010-9-19 09:41
支持
欢迎光临 全球主机交流论坛 (https://loc.010206.xyz/)
Powered by Discuz! X3.4