#Block access from badly behaving robots and site sucking type programs. BrowserMatchNoCase ^SiteSucker blockAccess BrowserMatchNoCase ^iGetter blockAccess BrowserMatchNoCase ^larbin blockAccess BrowserMatchNoCase ^LeechGet blockAccess BrowserMatchNoCase ^RealDownload blockAccess BrowserMatchNoCase ^Teleport blockAccess BrowserMatchNoCase ^Webwhacker blockAccess BrowserMatchNoCase ^WebDevil blockAccess BrowserMatchNoCase ^Webzip blockAccess BrowserMatchNoCase ^Attache blockAccess BrowserMatchNoCase ^SiteSnagger blockAccess BrowserMatchNoCase ^WX_mail blockAccess BrowserMatchNoCase ^EmailCollector blockAccess BrowserMatchNoCase ^WhoWhere blockAccess BrowserMatchNoCase ^Roverbot blockAccess BrowserMatchNoCase ^ActiveAgent blockAccess BrowserMatchNoCase ^EmailSiphon blockAccess BrowserMatchNoCase ^CrownPeak-HttpAgent blockAccess BrowserMatchNoCase ^$ blockAccess # Mod_perl preloading Perlrequire /content/twiki/tools/mod_perl_startup.pl PerlSwitches -T # The ScriptAlias defines the bin directory as a directory where CGI # scripts are allowed. ScriptAlias /twiki/bin "/content/twiki/bin" # The Alias defines a url that points to the root of the twiki installation. Alias /twiki "/content/twiki" require valid-user # Limit access to Admin topics require valid-user AllowOverride All Order Allow,Deny Allow from all Deny from env=blockAccess Options ExecCGI FollowSymLinks SetHandler cgi-script # File to return on access control error (e.g. wrong password) ErrorDocument 401 /error/upgrade_user.pl Include "conf/mysql.conf" SetHandler blabla Allow from all # Limit access to configure to specific IP addresses and or users. SetHandler cgi-script require valid-user # Enable mod_perl for the bin scripts listed require valid-user SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlSendHeader On PerlOptions +ParseHeaders Options None AllowOverride None Order Allow,Deny Allow from all Deny from env=blockAccess # Disable execusion of PHP scripts php_admin_flag engine off # This line will redefine the mime type for the most common types of scripts # It will also deliver HTML files as if they are text files AddType text/plain .html .htm .shtml .php .php3 .phtml .phtm .pl .py .cgi deny from all deny from all deny from all deny from all deny from all