List Info

Thread: disabling mod_security 2.1.0




disabling mod_security 2.1.0
country flaguser name
Czech Republic
2007-04-08 12:42:58
Hallo list

How do I disable completely mod_security on a directory
level? For example I have something like this:
Alias /foo "/var/www/localhost/foo.htdocs/"
<Directory
"/var/www/localhost/foo.htdocs/">
...
...
</Directory>


How can I now disable mod_security for this Alias?
I am lost. Don't know how do completely disable mod_security
for that directory/alias?


cheers

SteveB
-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat
...
Jetzt GMX TopMail testen: http://www.gmx.net/d
e/go/topmail

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
mod-security-users mailing list
mod-security-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-
security-users

Re: disabling mod_security 2.1.0
country flaguser name
United States
2007-04-09 09:26:30
SteveB,
Since you are using an Apache alias for "/foo" you
can use an Apache
Location directive contain and then disable the ModSecurity
Rule engine
like this -

<Location /foo>
SecRuleEngine Off
</Location>

This will turn off the Mod rule engine for any URL that
starts off with
"/foo".  One caveat however, since this uses
Apache scope locations, it
will not be processed until phase:2.  The impact of this is
that any Mod
rules that are running in phase:1 will still inspect these
requests and
may take action.  If you want to disable this within phase:1
as well,
then don't use the Apache scope containers and instead use a
Mod chained
rule like this -

SecRule REQUEST_URI "^/foo"
"phase:1,chain,nolog,allow,ctl:ruleEngine=Off"

This rule uses the "ctl:ruleEngine=Off" action to
control the rule
engine and can run in phase:1.

-- 
Ryan C. Barnett
ModSecurity Community Manager
Breach Security: Director of Application Security Training
Web Application Security Consortium (WASC) Member
Author: Preventing Web Attacks with Apache
 
--------------
Web Security Threat Report Webinar on May 9, 2007 (12 pm
EST)
Learn More About the Breach Webinar Series:
http://www.breach.
com/webinars.asp
--------------
 
> -----Original Message-----
> From: mod-security-users-bounceslists.sourceforge.net
[mailto:mod-
> security-users-bounceslists.sourceforge.net] On
Behalf Of
> steeeeeveeegmx.net
> Sent: Sunday, April 08, 2007 1:43 PM
> To: mod-security-userslists.sourceforge.net
> Subject: [mod-security-users] disabling mod_security
2.1.0
> 
> Hallo list
> 
> How do I disable completely mod_security on a directory
level? For
example
> I have something like this:
> Alias /foo "/var/www/localhost/foo.htdocs/"
> <Directory
"/var/www/localhost/foo.htdocs/">
> ...
> ...
> </Directory>
> 
> 
> How can I now disable mod_security for this Alias?
> I am lost. Don't know how do completely disable
mod_security for that
> directory/alias?
> 
> 
> cheers
> 
> SteveB
> --
> "Feel free" - 10 GB Mailbox, 100
FreeSMS/Monat ...
> Jetzt GMX TopMail testen: http://www.gmx.net/d
e/go/topmail
> 
>
------------------------------------------------------------
------------
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to
share
> your
> opinions on IT & business topics through brief
surveys-and earn cash
>
http://www.techsay.com/default.p
hp?page=join.php&p=sourceforge&CID=DEVDE
V
> _______________________________________________
> mod-security-users mailing list
> mod-security-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mod-
security-users

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
mod-security-users mailing list
mod-security-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-
security-users

Re: disabling mod_security 2.1.0
country flaguser name
United States
2007-04-09 09:46:28
My bad, I was thinking of some different solutions when I
was creating
that rule... you don't need a chained rule just this -

SecRule REQUEST_URI "^/foo"
"phase:1,nolog,allow,ctl:ruleEngine=Off"

-- 
Ryan C. Barnett
ModSecurity Community Manager
Breach Security: Director of Application Security Training
Web Application Security Consortium (WASC) Member
Author: Preventing Web Attacks with Apache
 
--------------
Web Security Threat Report Webinar on May 9, 2007 (12 pm
EST)
Learn More About the Breach Webinar Series:
http://www.breach.
com/webinars.asp
--------------
 

> -----Original Message-----
> From: Ryan Barnett
> Sent: Monday, April 09, 2007 10:27 AM
> To: steeeeeveeegmx.net; mod-security-userslists.sourceforge.net
> Subject: RE: [mod-security-users] disabling
mod_security 2.1.0
> 
> SteveB,
> Since you are using an Apache alias for
"/foo" you can use an Apache
> Location directive contain and then disable the
ModSecurity Rule
engine
> like this -
> 
> <Location /foo>
> SecRuleEngine Off
> </Location>
> 
> This will turn off the Mod rule engine for any URL that
starts off
with
> "/foo".  One caveat however, since this uses
Apache scope locations,
it
> will not be processed until phase:2.  The impact of
this is that any
Mod
> rules that are running in phase:1 will still inspect
these requests
and
> may take action.  If you want to disable this within
phase:1 as well,
then
> don't use the Apache scope containers and instead use a
Mod chained
rule
> like this -
> 
> SecRule REQUEST_URI "^/foo"
"phase:1,chain,nolog,allow,ctl:ruleEngine=Off"
> 
> This rule uses the "ctl:ruleEngine=Off"
action to control the rule
engine
> and can run in phase:1.
> 
> --
> Ryan C. Barnett
> ModSecurity Community Manager
> Breach Security: Director of Application Security
Training
> Web Application Security Consortium (WASC) Member
> Author: Preventing Web Attacks with Apache
> 
> --------------
> Web Security Threat Report Webinar on May 9, 2007 (12
pm EST)
> Learn More About the Breach Webinar Series:
> http://www.breach.
com/webinars.asp
> --------------
> 
> > -----Original Message-----
> > From: mod-security-users-bounceslists.sourceforge.net [mailto:mod-
> > security-users-bounceslists.sourceforge.net] On
Behalf Of
> > steeeeeveeegmx.net
> > Sent: Sunday, April 08, 2007 1:43 PM
> > To: mod-security-userslists.sourceforge.net
> > Subject: [mod-security-users] disabling
mod_security 2.1.0
> >
> > Hallo list
> >
> > How do I disable completely mod_security on a
directory level? For
> example
> > I have something like this:
> > Alias /foo
"/var/www/localhost/foo.htdocs/"
> > <Directory
"/var/www/localhost/foo.htdocs/">
> > ...
> > ...
> > </Directory>
> >
> >
> > How can I now disable mod_security for this
Alias?
> > I am lost. Don't know how do completely disable
mod_security for
that
> > directory/alias?
> >
> >
> > cheers
> >
> > SteveB
> > --
> > "Feel free" - 10 GB Mailbox, 100
FreeSMS/Monat ...
> > Jetzt GMX TopMail testen: http://www.gmx.net/d
e/go/topmail
> >
> >
------------------------------------------------------------
------------
> -
> > Take Surveys. Earn Cash. Influence the Future of
IT
> > Join SourceForge.net's Techsay panel and you'll
get the chance to
share
> > your
> > opinions on IT & business topics through brief
surveys-and earn cash
> >
>
http://www.techsay.com/default.p
hp?page=join.php&p=sourceforge&CID=DEVDE
V
> > _______________________________________________
> > mod-security-users mailing list
> > mod-security-userslists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mod-
security-users

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
mod-security-users mailing list
mod-security-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-
security-users

Free ModSecurity Console Documentation
country flaguser name
United States
2007-04-09 09:56:38
Greetings,

Does anyone have documentation of the modsecurity console? I
need to
deploy it but I would like to read a bit about it first,
currently I've
deploy the modsecurity modules and I need a console to
gather the log
info from the servers. I don't see in the website
documentation for the
console

Regards,

Chris M.

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
mod-security-users mailing list
mod-security-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-
security-users

Re: Free ModSecurity Console Documentation
country flaguser name
United States
2007-04-09 10:11:36
We don't have any specific documentation for the Console.  I
would
recommend the following -

1) Check out the overview info here -
http://www.modsecurity.org/projects/console/index.html. 

2) Review my recent Blog post on the subject -
http://www.modsecurity.org/blog/archives
/2007/03/modsecurity_con_1.html.

Let me know if you have more specific questions.

-- 
Ryan C. Barnett
ModSecurity Community Manager
Breach Security: Director of Application Security Training
Web Application Security Consortium (WASC) Member
Author: Preventing Web Attacks with Apache
 
--------------
Web Security Threat Report Webinar on May 9, 2007 (12 pm
EST)
Learn More About the Breach Webinar Series:
http://www.breach.
com/webinars.asp
--------------
 

> -----Original Message-----
> From: mod-security-users-bounceslists.sourceforge.net
[mailto:mod-
> security-users-bounceslists.sourceforge.net] On
Behalf Of Chris
> Montesdeoca
> Sent: Monday, April 09, 2007 10:57 AM
> To: mod-security-userslists.sourceforge.net
> Subject: [mod-security-users] Free ModSecurity Console
Documentation
> 
> Greetings,
> 
> Does anyone have documentation of the modsecurity
console? I need to
> deploy it but I would like to read a bit about it
first, currently
I've
> deploy the modsecurity modules and I need a console to
gather the log
> info from the servers. I don't see in the website
documentation for
the
> console
> 
> Regards,
> 
> Chris M.
> 
>
------------------------------------------------------------
------------
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to
share
> your
> opinions on IT & business topics through brief
surveys-and earn cash
>
http://www.techsay.com/default.p
hp?page=join.php&p=sourceforge&CID=DEVDE
V
> _______________________________________________
> mod-security-users mailing list
> mod-security-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mod-
security-users

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
mod-security-users mailing list
mod-security-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-
security-users

Re: disabling mod_security 2.1.0
user name
2007-04-10 01:30:58
Should it also work on Virtual Host? ..
 
-Adam

 
On 4/9/07, Ryan Barnett < Ryan.Barnettbreach.com">Ryan.Barnettbreach.com> wrote:
My bad, I was thinking of some different solutions when I was creating
that rule... you don't need a chained rule just this -

SecRule REQUEST_URI "^/foo" "phase:1,nolog,allow,ctl:ruleEngine=Off"

--
Ryan C. Barnett
ModSecurity Community Manager
Breach Security: Director of Application Security Training
Web Application Security Consortium (WASC) Member
Author: Preventing Web Attacks with Apache

--------------
Web Security Threat Report Webinar on May 9, 2007 (12 pm EST)
Learn More About the Breach Webinar Series:
http://www.breach.com/webinars.asp
--------------


&gt; -----Original Message-----
> From: Ryan Barnett
&gt; Sent: Monday, April 09, 2007 10:27 AM
> To: steeeeeveeegmx.net">steeeeeveeegmx.net; mod-security-userslists.sourceforge.net">mod-security-userslists.sourceforge.net
> Subject: RE: [mod-security-users] disabling mod_security 2.1.0
&gt;
> SteveB,
&gt; Since you are using an Apache alias for "/foo" you can use an Apache
>; Location directive contain and then disable the ModSecurity Rule
engine
> like this -
>
&gt; <Location /foo>
&gt; SecRuleEngine Off
> </Location>
>;
> This will turn off the Mod rule engine for any URL that starts off
with
&gt; "/foo".&nbsp; One caveat however, since this uses Apache scope locations,
it
> will not be processed until phase:2.&nbsp; The impact of this is that any
Mod
&gt; rules that are running in phase:1 will still inspect these requests
and
> may take action.&nbsp; If you want to disable this within phase:1 as well,
then
> don't use the Apache scope containers and instead use a Mod chained
rule
> like this -
>
>; SecRule REQUEST_URI "^/foo"
&quot;phase:1,chain,nolog,allow,ctl:ruleEngine=Off"
>
> This rule uses the "ctl:ruleEngine=Off" action to control the rule
engine
> and can run in phase:1.
&gt;
> --
> Ryan C. Barnett
&gt; ModSecurity Community Manager
&gt; Breach Security: Director of Application Security Training
> Web Application Security Consortium (WASC) Member
>; Author: Preventing Web Attacks with Apache
>;
> --------------
> Web Security Threat Report Webinar on May 9, 2007 (12 pm EST)
> Learn More About the Breach Webinar Series:
> http://www.breach.com/webinars.asp
> --------------
>
&gt; > -----Original Message-----
> > From: mod-security-users-bounceslists.sourceforge.net"> mod-security-users-bounceslists.sourceforge.net [mailto: mod-">mod-
> > security-users-bounceslists.sourceforge.net">security-users-bounceslists.sourceforge.net] On Behalf Of
> > steeeeeveeegmx.net">steeeeeveeegmx.net
&gt; > Sent: Sunday, April 08, 2007 1:43 PM
> > To: mod-security-userslists.sourceforge.net">mod-security-userslists.sourceforge.net
> > Subject: [mod-security-users] disabling mod_security 2.1.0
> >
> > Hallo list
> >
> > How do I disable completely mod_security on a directory level? For
> example
> > I have something like this:
> > Alias /foo "/var/www/localhost/foo.htdocs/"
> > <Directory "/var/www/localhost/foo.htdocs/"&gt;
> > ...
> > ...
> > </Directory>
> >
> >
> > How can I now disable mod_security for this Alias?
>; > I am lost. Don't know how do completely disable mod_security for
that
&gt; > directory/alias?
> >
>; >
> > cheers
>; >
> > SteveB
>; > --
> > "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
> > Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
> >
> >
------------------------------------------------------------------------
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net';s Techsay panel and you'll get the chance to
share
&gt; > your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
>
http://www.techsay.com/default.php?page=join.php&;p=sourceforge&CID=DEVDE
V
&gt; > _______________________________________________
> > mod-security-users mailing list
> > mod-security-userslists.sourceforge.net"> mod-security-userslists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mod-security-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
mod-security-users mailing list
mod-security-userslists.sourceforge.net">mod-security-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-security-users



--
Allah Hafiz
Adam Saeed
http://adamdesktop.blogspot.com
[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )