0

when i ran the command apache2ctl configtest it is showing this error

AH00526: Syntax error on line 193 of /etc/modsecurity/modsecurity.conf:
ModSecurity: Failed to open the audit log file: /var/log/apache2/modsec_audit.log

and on line 193

SecAuditLog /var/log/apache2/modsec_audit.log

what is wrong? can anyone tell why is it so

  • Look for the file and its containing directory. – Michael Hampton Dec 5 '18 at 18:39
  • Look for what ? – Sony Dec 5 '18 at 18:41
  • Look for everything. Whether they exist, what their permissions and ownership are, anything unusual. – Michael Hampton Dec 5 '18 at 18:42
  • it does not exist – Sony Dec 5 '18 at 18:43
  • Which does not exist? The file or the directory? You were meant to look at both. – Michael Hampton Dec 5 '18 at 18:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.