# General Settings
ServerId = www-data
ServerString = none
ConnectionsTotal = 3000
ConnectionsPerIP = 100
SystemLogfile = /usr/local/var/log/hiawatha/system.log
GarbageLogfile = /usr/local/var/log/hiawatha/garbage.log
FastCGIserver {
FastCGIid = PHP7
ConnectTo = /run/php/php7.0-fpm.sock
Extension = php
}
UrlToolkit {
ToolkitID = fbd
Do DenyAccess
}
UrlToolkit {
ToolkitID = extRmr
Match (\.css)|(\.js)|(\.ttf)|(\.woff)|(\.svg)|(\.png) Exit
Match (\.php)|(\.py)|(\.pyp)|(\.html)|(\.jsp)|(\.java) DenyAccess
Match (\/)(.*)(\/)$ DenyAccess
Match (\/[a-zA-Z]*[0-9]{2})$ Rewrite $1.php Continue
RequestURI notfound call fbd
}