Current File : //proc/thread-self/root/usr/local/lsws/DEFAULT/conf/vhconf.xml |
<?xml version="1.0" encoding="UTF-8"?>
<virtualHostConfig>
<docRoot>$VH_ROOT/html/</docRoot>
<enableGzip>1</enableGzip>
<adminEmails></adminEmails>
<logging>
<log>
<useServer>0</useServer>
<fileName>$VH_ROOT/logs/error.log</fileName>
<logLevel>DEBUG</logLevel>
<rollingSize>10M</rollingSize>
</log>
<accessLog>
<useServer>0</useServer>
<fileName>$VH_ROOT/logs/access.log</fileName>
<logReferer>1</logReferer>
<logUserAgent>1</logUserAgent>
<rollingSize>10M</rollingSize>
<keepDays>30</keepDays>
<compressArchive>0</compressArchive>
</accessLog>
</logging>
<awstats>
<updateMode>0</updateMode>
<workingDir>$VH_ROOT/awstats</workingDir>
<awstatsURI>/awstats/</awstatsURI>
<siteDomain>localhost</siteDomain>
<siteAliases>127.0.0.1 localhost</siteAliases>
<updateInterval>86400</updateInterval>
<updateOffset>0</updateOffset>
</awstats>
<index>
<useServer>0</useServer>
<indexFiles>index.html</indexFiles>
<autoIndex>0</autoIndex>
<autoIndexURI>/_autoindex/default.php</autoIndexURI>
</index>
<htAccess>
<allowOverride>0</allowOverride>
<accessFileName>.htaccess</accessFileName>
</htAccess>
<frontPage>
<enable>0</enable>
<disableAdmin>0</disableAdmin>
<domainNames></domainNames>
</frontPage>
<expires>
<enableExpires>1</enableExpires>
<expiresDefault></expiresDefault>
</expires>
<security>
<general>
<enableContextAC>0</enableContextAC>
</general>
<hotlinkCtrl>
<enableHotlinkCtrl>0</enableHotlinkCtrl>
<suffixes>gif, jpeg, jpg</suffixes>
<allowDirectAccess>1</allowDirectAccess>
<redirectUri></redirectUri>
<onlySelf>1</onlySelf>
<allowedHosts></allowedHosts>
</hotlinkCtrl>
<realmList>
<realm>
<name>SampleProtectedArea</name>
<type>file</type>
<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>
<accessControl>
<allow>*</allow>
<deny></deny>
</accessControl>
</security>
<contextList>
<context>
<uri>/docs/</uri>
<type>NULL</type>
<location>$SERVER_ROOT/docs/</location>
<allowBrowse>1</allowBrowse>
</context>
<context>
<uri>/protected/</uri>
<type>NULL</type>
<location>protected/</location>
<allowBrowse>1</allowBrowse>
<realm>SampleProtectedArea</realm>
<authName>Protected</authName>
<required>user test</required>
<accessControl>
<allow>*</allow>
<deny></deny>
</accessControl>
</context>
<context>
<uri>/blocked/</uri>
<type>NULL</type>
<location>blocked/</location>
<allowBrowse>0</allowBrowse>
</context>
<context>
<uri>/cgi-bin/</uri>
<type>cgi</type>
<location>$VH_ROOT/cgi-bin/</location>
<allowBrowse>1</allowBrowse>
</context>
</contextList>
<scriptHandlerList>
</scriptHandlerList>
<customErrorPages>
<errorPage>
<errCode>404</errCode>
<url>/error404.html</url>
</errorPage>
</customErrorPages>
<rewrite>
<enable>0</enable>
<logLevel>0</logLevel>
<rules>RewriteCond %{HTTP_USER_AGENT} ^NameOfBadRobot
RewriteRule ^/nospider/ - [F]</rules>
</rewrite>
</virtualHostConfig>