The following variables needs to be implemented inside libModSecurity: - RESPONSE_PROTOCOL - RESPONSE_STATUS More information about these variables can be found at ModSecurity reference manual: https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual