On Wed, Jan 19, 2011 at 4:17 PM, dreamice <[email protected]> wrote:
> Dear all,
>
> I have the requirements as follows:
> The Web Server has a single IP address, but have a lot of virtual hosts. For
> example, the Web Server IP address is 192.168.1.100, and the virtual hosts
> are:www.a.com, www.b.com and www.c.com.
>
> I want to set up a proxy apache server to protect the  "Web Server", and
> each virtual host should set up a single modsecurity rule set.
>
> How can I configure my apache proxy server to proxy for the virtual hosts
> with a single rule set for each other?

Hi,

You can simply use an Include statement within the virtual host
configuration that points to the ruleset to want to apply for each
domain. For example:

<VirtualHost *:80>
  ServerName www.a.com
  ...
  Include /opt/modsecurity/etc/www.a.com/RuleSetA.conf
  ...
</VirtualHost>

--
 - Josh
_______________________________________________
Owasp-modsecurity-core-rule-set mailing list
[email protected]
https://lists.owasp.org/mailman/listinfo/owasp-modsecurity-core-rule-set

Reply via email to