Linux Log Analizi — ModSecurity Kurulumu

#apt install libapache2-mod-security2
#cp /etc/modsecurity/modsecurity.conf-recommended /etc/modsecurity/modsecurity.conf

<IfModule security2_module>

# Default Debian dir for modsecurity’s persistent data

SecDataDir /var/cache/modsecurity

# Include all the *.conf files in /etc/modsecurity.

# Keeping your local configuration in that directory

# will allow for an easy upgrade of THIS file and

# make your life easier

IncludeOptional /etc/modsecurity/*.conf

Include /etc/modsecurity/rules/*.conf

</IfModule>

#systemctl restart apache2

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store