have you tried this?

http://www.howtoforge.com/apache2_mod_security_debian_etch


On Feb 6, 2008 3:17 PM, Rommel Asibal <[EMAIL PROTECTED]> wrote:

> What i dont understand is i can install it using yum and i automatically
> get a Bad request page upon restarting apache, but when looking at the
> /etc/httpd/conf/httpd.conf file i cant find any reference to loading
> mod_security... (there is no LoadModule security2_module
> modules/mod_security2.so line).  Now when I remove mod_security (yum  remove
> mod_security) and then restart apache i get the welcome page again... which
> means that mod_sec was working, albeit the rules were not setup (is that
> right?).  The thing is, when i check
> http://www.modsecurity.org/documentation/modsecurity-apache/2.1.5/html-multipage/02-installation.htmlfor
>  more instructions on its setup theres alot of other stuff.
>
> any ideas on what my next step should be?
>
>
>
>
> On Feb 5, 2008 5:07 PM, Percy <[EMAIL PROTECTED]> wrote:
>
> > On Feb 5, 2008 7:08 PM, Rommel Asibal <[EMAIL PROTECTED]> wrote:
> > > Hi guys,
> > >
> > > another question by the eternal noob... hope someone can help...
> > > i went ahead and installed jason litka's yum repo as a way to install
> > > mod_security (i'm always for the easy way out).
> > >
> > >
> > > anyway after enabling the repo (
> > http://www.jasonlitka.com/yum-repository/)
> > >
> > > i went ahead and installed mod_security
> > > #yum install mod_security
> > >
> > > then i went ahead and edited my httpd.conf (of course moving the files
> > to
> > > where they were supposed to be)
> > >
> > > # Mod Security Start
> > > LoadModule security2_module modules/mod_security2.so
> > >  Include conf/modsecurity/*.conf
> > > # Mod Security End
> > >
> > > did
> > > [EMAIL PROTECTED] ~]# service httpd restart
> > > Stopping httpd:                                            [FAILED]
> > > Starting httpd: httpd: Syntax error on line 195 of
> > > /etc/httpd/conf/httpd.conf: Cannot load
> > /etc/httpd/modules/mod_security2.so
> > > into server: /etc/httpd/modules/mod_security2.so: undefined symbol:
> > xmlFree
> > >                                                             [FAILED]
> > >
> > >
> > >  where do i get xmlFree?
> >
> > libxml2
> > _________________________________________________
> > Philippine Linux Users' Group (PLUG) Mailing List
> > [email protected] (#PLUG @ irc.free.net.ph)
> > Read the Guidelines: http://linux.org.ph/lists
> > Searchable Archives: http://archives.free.net.ph
> >
>
>
>
> --
> ...
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
>
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to