Hey guys! thanks for your help!
crs is 2.2.5 - apache 2.4.3 and modsecurity 2.6.7.
I don't make any change in rules.
I'm using this server as reverse proxy, and my configuration is:
ProxyVia On
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName myserver
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://xxx.xxx.xxx.xxx:80
ProxyPassReverse / http://xxx.xxx.xxx.xxx:80
#Redirect Permanent / http://xxx.xxx.xxx.xxx:80
</VirtualHost>
If I put this configuration in separeted file, apache fails with the error
Starting httpd: AH00526: Syntax error on line 132 of
/etc/httpd/conf.d/base_rules/
modsecurity_crs_50_outbound.conf, however if I put this configuration in
httpd.conf, apache works!!
I don't understand very well why.
many thanks !
On Mon, Sep 10, 2012 at 10:46 AM, Josh Amishav-Zlatin <[email protected]>wrote:
> On Mon, Sep 10, 2012 at 4:39 PM, Leonardo Bacha Abrantes <
> [email protected]> wrote:
>
>> Hey Guys,
>>
>> I installed apache version 2.4.3 with Modsecurity 2.6.7, and it has been
>> failing to start:
>>
>>
> Hi Leonardo,
>
> What version of the CRS are you using? It looks like there is a syntax
> error on line 132 of modsecurity_crs_50_outbound.conf, did you edit this
> file by chance?
>
> --
> - Josh
>
>
>> [root@myserver httpd]# /etc/init.d/httpd start
>> Starting httpd: AH00526: Syntax error on line 132 of
>> /etc/httpd/conf.d/base_rules/modsecurity_crs_50_outbound.conf:
>> Error parsing actions: Unknown action: \\
>> [FAILED]
>>
>> Could you help me please ?
>>
>> _______________________________________________
>> Owasp-modsecurity-core-rule-set mailing list
>> [email protected]
>> https://lists.owasp.org/mailman/listinfo/owasp-modsecurity-core-rule-set
>>
>>
>
_______________________________________________
Owasp-modsecurity-core-rule-set mailing list
[email protected]
https://lists.owasp.org/mailman/listinfo/owasp-modsecurity-core-rule-set