File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 45
45
sudo cp unicode.mapping /etc/apache2/
46
46
sudo mkdir -p /var/cache/modsecurity
47
47
sudo chown -R www-data:www-data /var/cache/modsecurity
48
+ - name : first check config (to get syntax errors)
49
+ run : sudo apachectl configtest
48
50
- name : start apache with module
49
- run : |
50
- sudo systemctl restart apache2.service
51
- sudo cat /var/log/apache2/error.log
52
-
51
+ run : sudo systemctl restart apache2.service
52
+ - name : Show httpd error log
53
+ if : always()
54
+ run : sudo cat /var/log/apache2/error.log
55
+ - name : Show mod_security2 audit log
56
+ if : always()
57
+ run : sudo cat /var/log/apache2/modsec_audit.log
58
+ # For non-regression tests: /home/runner/work/ModSecurity/ModSecurity/tests/regression/server_root/logs/audit/audit.log
You can’t perform that action at this time.
0 commit comments