Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 1881

Modsecurity for IIS 7

$
0
0

Hi Guys,

Having some trouble getting modsecurity to work in IIS.

I set SecDataDir to something like c:\temp and log locations like:

SecAuditLogType Serial
SecAuditLog c:\inetpub\log\modsec_audit.log

But I still get errors:

Syntax error in config file c:\inetpub\wwwroot\owasp_crs\modsecurity.conf, line 188: Command failed to execute (check file/folder permissions, syntax, etc.).

and

[client 1.1.1.1:51748] ModSecurity: collection_retrieve_ex: Unable to retrieve collection (name "ip", key "1.1.1.1:51748_6f12d3e386b7e287b8d79b4560e930de4f2bf383"). Use SecDataDir to define data directory first. [hostname "WEB01"] [uri "/index.php/favicon.ico"] [unique_id "18158513699705323575"]

Any ideas or examples of what exactly the path should look like for those 2 fields.

Thanks


Viewing all articles
Browse latest Browse all 1881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>