>> That's correct. Just move them outside the VirtualHost area
>> to make it work again.
>>
>>
>
> This has changed since 1.7. Am I correct?
Yes.
> Since a server could have many different virtual hosts and might not
> need not to deploy mod_security in all of them or have different
> deployment profiles, I would suggest that in a future version of
> mod_security administrators are allowed to define rules inside virtual
> hosts.
Just to clarify: you *can* use most of mod_security directives
per-host, per-directory, per-location, etc. The restriction we
discussed only applies to the two directives you mentioned,
SecServerResponseToken and SecServerSignature.
--
ModSecurity (http://www.modsecurity.org)
[ Open source IDS for Web applications ]
|