Question
403 Forbidden after installing Mod_security
Hi,
I installed Mod_security on Ubuntu 12.04 x32 following this tutorial:
http://www.thefanclub.co.za/how-to/how-install-apache2-modsecurity-and-modevasive-ubuntu-1204-lts-server
and now I receive 403 Forbidden error on every page/folder on my website:
You don't have permission to access / on this server
You don't have permission to access /phpmyadmin on this server
I created /etc/modsecurity/modsecurity_custom_rules.conf
and I could probably add custom rule for every specific case i.e.
SecRuleEngine Off
but is there a simpler way to add more general rules?
Also is it normal after installing Mod_security to get blocked completely or I did something wrong during the installation?
Thanks in advance
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×