Страница скачиваний
пример конфига
- Код: Выделить всё • Развернуть
<IfModule mod_security.c>
SecFilterEngine On
SecFilterCheckURLEncoding On
SecFilterForceByteRange 0 255
SecFilterSelective "HTTP_USER_AGENT|HTTP_HOST" "^$" redirect:http://lleo.aha.ru/na/
SecFilterSelective "HTTP_USER_AGENT" "spider" redirect:http://lleo.aha.ru/na/
SecFilterSelective "HTTP_USER_AGENT" "PTX$" redirect:http://lleo.aha.ru/na/
SecFilterSelective "HTTP_USER_AGENT" "copi" redirect:http://lleo.aha.ru/na/
SecFilterSelective "HTTP_USER_AGENT" "webdav" redirect:http://lleo.aha.ru/na/
SecFilterSelective "HTTP_USER_AGENT" "winhtt" redirect:http://lleo.aha.ru/na/
SecFilterSelective "HTTP_USER_AGENT" "yournam" redirect:http://lleo.aha.ru/na/
SecFilterSelective "HTTP_USER_AGENT" "telepor" redirect:http://lleo.aha.ru/na/
SecFilterSelective "HTTP_USER_AGENT" "copy" redirect:http://lleo.aha.ru/na/
SecFilterSelective "HTTP_USER_AGENT" "archiv" redirect:http://lleo.aha.ru/na/
SecFilterSelective "HTTP_USER_AGENT" "wget" redirect:http://lleo.aha.ru/na/
SecServerSignature "Apache/1.3.1 (Win32)"
SecAuditEngine RelevantOnly
SecAuditLog logs/audit_log
SecFilterDebugLog logs/modsec_debug_log
SecFilterDebugLevel 0
SecFilterScanPOST On
SecFilter /etc/password
SecFilter "\.\./"
SecFilter "<( |\n)*script"
SecFilter ":( |\n)*xscript"
SecFilter "<(.|\n)+>"
SecFilter "delete[[:space:]]+from"
SecFilter "insert[[:space:]]+into"
SecFilter "select.+from"
</IfModule>