# # This is a sample file for DotSlash configurations using Apache # configuration file httpd.conf # # Please add some or all the following DotSlash configurations to # your httpd.conf. Adjust certain parameters to fit your system. # # (c) Columbia University, 2004-2006, All Rights Reserved. # Author: Weibin Zhao # # # General Configurations # LoadModule dots_module modules/mod_dots.so SetHandler dotslash-status DotsCommunityType open DotsDotsdPidFile /home/zwb/httpd/logs/dotsd.pid # # Control Parameters # DotsControlInterval 1 DotsMaxDataRate 100 DotsLinkUpperThreshold 0.75 DotsLinkLowerThreshold 0.50 DotsCpuMonitor On DotsCpuUpperThreshold 0.70 DotsCpuLowerThreshold 0.45 DotsRescueIdleTTL 120 DotsOriginIdleTTL 120 DotsPastOriginTTL 120 # # Service Discovery # DotsSrvloc On DotsSrvlocServer muni.cs.columbia.edu DotsSrvlocPort 2427 DotsDiscoverTTL 120 DotsRegisterTTL 120 # # Dynamic DNS # DotsDnsUpdateServer muni.cs.columbia.edu DotsAliasBase foo.dot-slash.net DotsAliasPoolSize 0 DotsAliasRegNum 0 DotsAliasAllocNum 0 DotsDnsRoundRobin On DotsDnsStaticName foo.cs.columbia.edu DotsTsig On DotsTsigKey foo.dot-slash.net DotsTsigSecret xxxxxxxxxxxxxxxxxxxxxxxx DotsTsigUpdateScript /home/zwb/httpd/bin/dots_ddns # # HTTP Redirect # ErrorDocument 302 " " DotsRedirectOverhead 358 DotsAccountingScale 0.8 # # Memory Cache and Disk Cache # CacheEnable mem / MCacheSize 256 MCacheMaxObjectCount 100 MCacheMaxObjectSize 20480 MCacheMinObjectSize 1 CacheEnable disk / CacheRoot /home/zwb/httpd/htdocs/_dots_cache CacheSize 10000 CacheMaxFileSize 1000000 CacheMinFileSize 1 # # PHP Script Replication # LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php .php .phtml ErrorDocument 404 /_dots_404.php DotsScriptRoot /home/zwb/httpd/htdocs/_dots_script # # MySQL Query Result Cache # DotsQCacheServer 127.0.0.1:11211 DotsQCacheTTL 60