#apache #mod #apache-modules
#apache #мод #apache-модули
Вопрос:
Я попытался загрузить mod_csrfprotector.so помещается в папку modules, а также добавляет следующую конфигурацию в httpd.conf. Однако сервер больше не запускается.
LoadModule csrf_protector_module modules/mod_csrfprotector.so
<IfModule csrf_protector_module>
csrfpEnable on
csrfpAction forbidden
errorCustomMessage "Access forbidden"
jsFilePath "https://raw.githubusercontent.com/mebjas/mod_csrfprotector/master/js/csrfprotector.js"
tokenLength 20
disablesJsMessage "please enable javascript "
verifyGetFor *://*/*
</IfModule>