Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
August 25, 2008 - Time to Vote for the August 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 30, 2008, 03:11:55 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: <SOLVE> how do i know mod security already turning off??  (Read 295 times)
bowo
Space Explorer
***
Offline Offline

Posts: 7


« on: April 29, 2008, 06:44:46 AM »

i need turning off mod security. i have place

Code:
suPHP_ConfigPath /home/reuni2/public_html
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

in .htaccess
and nothing change  Grr..!!
still get 406 error not acceptable when login

i have mail support, why they take so long  Grr..!!
is it really hard for turning off mod security for one domain Confused
server limu

thanks
« Last Edit: April 29, 2008, 11:58:34 PM by bowo » Logged
MrPhil
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3237



« Reply #1 on: April 29, 2008, 02:58:52 PM »

Try taking out the <Ifmodule...> and </Ifmodule> tags. I don't think they're needed.
Logged

bowo
Space Explorer
***
Offline Offline

Posts: 7


« Reply #2 on: April 29, 2008, 04:42:59 PM »

Try taking out the <Ifmodule...> and </Ifmodule> tags. I don't think they're needed.

without <Ifmodule...> and </Ifmodule> make 500 Internal Server Error phil  Hypno

Logged
JeremyD
SleePy...
Jabba the Hutt
*****
Offline Offline

Posts: 721


SMF Team Member


WWW
« Reply #3 on: April 29, 2008, 05:18:36 PM »

Then you most likely don't have mod security installed on your server
Logged

bowo
Space Explorer
***
Offline Offline

Posts: 7


« Reply #4 on: April 29, 2008, 05:58:21 PM »

How can I disable Mod Security for a specific domain while keeping the Mod Security for the rest of domains enabled?

A. If Apache is compiled with SuPhp and Mod Security, do the following:

Create a directory for that domain:
Code:
mkdir -p /usr/local/apache/conf/userdata/std/2/USERNAME/DOMAIN.TLD

Then create a mod_security conf file:
Code:
touch /usr/local/apache/conf/userdata/std/2/USERNAME/DOMAIN.TLD/mod_security.conf

Using your favorite Linux Text editor such as pico or vi, add the following directive(s) in that file:
Code:
<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>

Save the file and then run:
Code:
/scripts/ensure_vhost_includes --user=USERNAME


B. If Apache is NOT compiled with SuPhp and Mod Security, do the following:

You can implement one of the following two options:

1. Add the following directive in .htaccess file:
Code:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

If that didn't work on your server ,

2. SSH to the server and add the following directive to /etc/httpd/conf/httpd.conf file:
Code:
<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>

my problem in A and only admin can do that...(still waiting...) Confused
Logged
bowo
Space Explorer
***
Offline Offline

Posts: 7


« Reply #5 on: April 29, 2008, 11:59:26 PM »

WOOWWW!!!!! Very Happy Awesome!! Thumbs Up  Happy Happy Joy Joy Bouncin for Joy NOW i love lunarpages!!!!thank u very much Dragos Gabriel Fedorovici  Yep  Clapping  Applause
Logged
Mitch
Lunarpages Traffic Cop
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 7428



WWW
« Reply #6 on: May 01, 2008, 06:14:53 AM »

Happy to hear you got this issue taken care of.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM