HI, I downloaded mod_security with wget, then i read in a reference that=20
i compile /usr/local/apache/bin/apxs -cia mod_security.c this but in RHE=20
not in /usr/local/apache/ =BF?
the server contains virtual domains, the configuration of httpd.conf is=20
for all?
i=F1aki wrote:
> HI, I downloaded mod_security with wget, then i read in a reference tha=
t=20
> i compile /usr/local/apache/bin/apxs -cia mod_security.c this but in RH=
E=20
> not in /usr/local/apache/ =BF?
On a Red Hat system you should be able to just type:
apxs -cia mod_security.c
If that doesn't work you probably need to install the httpd-devel RPM.
> the server contains virtual domains, the configuration of httpd.conf is=
=20
> for all?
That depends where you put the configuration. For example, if you
put it outside all <VirtualHost> containers it will work for all
hosts. But if you put it inside only one it will only work for
that one.
--=20
Ivan Ristic (http://www.modsecurity.org)