<IfModule mod_security2.c>
SecRuleEngine On
</IfModule>
i cant edit <VirtualHost file: *
<IfModule mod_security2.c>
SecRuleEngine On
</IfModule>
i cant edit <VirtualHost file: *
either .htaccess or use custom template.
i try in .htaccess
<IfModule mod_security2.c>
SecRuleEngine On
</IfModule>
Error: .htaccess: SecRuleEngine not allowed here
Then create a custom template
how create?
in /usr/local/hestia/data/templates/web/apache2
cp default.stpl myteample.stpl
cp default.tpl myteample.stpl
and not see in list
That should be:
cp default.tpl myteample.tpl
tanks all. its work.
last question how enable mod-security for Hestia Web panel(self)?
Not really posible as it runs on Nginx…
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.