Remove and Uninstall or Disable ModSecurity (mod_security) Noņemiet un Uninstall vai Disable ModSecurity (mod_security)

ModSecurity is an open source embeddable web application firewall, or intrusion detection and prevention engine for web applications. ModSecurity ir open source embeddable tīmekļa lietojumprogrammu ugunsmūri, vai ielaušanās atklāšanas un novēršanas motora tīmekļa lietojumprogrammas. ModSecurity provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring and real-time analysis with no changes to existing infrastructure, by operating as an Apache Web server module mod_security or standalone, and thus increase web application security. ModSecurity sniedz aizsardzību no dažādiem uzbrukumiem interneta lietojumprogrammas un ļauj HTTP satiksmes uzraudzības un reālā laika analīze bez izmaiņām infrastruktūra, ar darbības kā Apache Web servera modulis mod_security vai savrupajam un tādējādi palielināt tīmekļa lietojumprogrammu drošību. However, misconfigured or overly strict rule sets, ModSecurity may cause your website to return various errors such as HTTP 403 Forbidden error or access denied error, login problems, or HTTP 412 Precondition Failed error, or HTTP 406 Not Acceptable error and other false positive symptoms. Tomēr, misconfigured vai pārlieku stingrs noteikums komplekti, ModSecurity var radīt savu interneta lapu, lai atgrieztos dažādas kļūdas, piemēram, HTTP 403 Aizliegts kļūda vai access denied kļūda, login problēmas, vai HTTP 412 priekšnosacījums Neizdevās kļūdu, vai HTTP 406 nav pieņemama kļūdas un citu nepatiesu pozitīvu simptomi .

To make matter worse, the configuration of ModSecurity rules and filters have to be done manually. Lai lietu vēl ļaunāk, konfigurācijai ModSecurity noteikumiem un filtri ir jāveic manuāli. Although there are free predefined certified rule set which can be used with ModSecurity out of the box, however the rule sets may be not suitable for each and every environment and may interfere with the operation of websites or blogs, and customizing and modifying the rules may be too sophisticated or complicated for some users. Lai gan ir bezmaksas iepriekšnoteikta sertificētu noteikums, kas, ko var izmantot ar ModSecurity no kastē, tomēr likums nosaka, var nav piemērots katrai videi un var būt pretrunā ar darbību, tīmekļa vietnes vai blogus, un pielāgot un groza noteikumus var būt pārāk sarežģītu vai sarežģīti dažiem lietotājiem. And for some websites that hosted on shared hosting service, the mod_security may be enable by default without options. Un dažas tīmekļa vietnes, kas izvietots uz kopīgām hosting pakalpojumu, mod_security var ļaut pēc noklusējuma bez iespējas. So in this case, the best solution or workaround for mod security related issues is to disable mod_security filtering and rules. Tātad šajā gadījumā ir labākais risinājums vai PROFILAKSE par mod drošību saistītiem jautājumiem ir atslēgt mod_security filtrēšanu un noteikumiem.

If you're using Apache web server (which mostly do), mod_security can be disabled by adding a specific in .htaccess file. Ja jūs izmantojat Apache Web serveri (kuri pārsvarā do), mod_security var invalīdiem, pievienojot īpašu in. Htaccess failu. Locate the .htaccess file in Apache web root directory (public_html or /var/www/ or others), if it does not exist, create a new file named .htaccess, and add in the following code: Atrodiet. Htaccess failu Apache Web root direktorijā (public_html vai / var / www / vai citi), ja tā nav, izveidot jaunu failu nosaukumu. Htaccess, un pievienot šādu kodu:


SecFilterEngine Off SecFilterEngine Off
SecFilterScanPOST Off SecFilterScanPOST Off

The above entries in the .htaccess will disable the ModSecurity (mod_security) module for the domain. Iepriekš darbus. Htaccess būs atspējot ModSecurity (mod_security) moduli par domēna.

Uninstallation of ModSecurity (mod_security) from Apache module Atinstalēšanu no ModSecurity (mod_security) no Apache modulis

The easiest way to remove and uninstall mod_security is to comment out or delete the related mod_security entries from httpd.conf Apache configuration file. Vieglākais veids, lai novērstu un atinstalēšanas mod_security ir komentāru vai dzēst related mod_security ierakstus no httpd.conf Apache konfigurācijas failu. The lines that should be removed include: Rindas, kas būtu jānovērš ietver:

AddModule mod_security.c AddModule mod_security.c
LoadModule security_module modules/mod_security.so LoadModule security_module modules / mod_security.so
Include “/usr/local/apache/conf/modsec.conf” This line may be different depending on what variant of Linux or Unix you used and the installation location Include "/ usr / local / apache / conf / modsec.conf" Šī līnija var būt dažādi atkarībā no tā, kas variantu Linux vai Unix jums izmantot, un uzstādīšanas vieta

Save the httpd.conf and restart the Apache. Save the httpd.conf un restart Apache. ModSecurity will not be loaded and as if uninstalled. ModSecurity netiks ielādēta un kā tad, ja atinstalēta.

If you're using WebHost Manager (WHM), uninstallation is even simpler. Ja jūs izmantojat WebHost Manager (WHM), atinstalēšanu ir pat vienkāršāka. Just scroll to cPanel section, and click on Addon Modules. Just ritiniet cPanel iedaļā, un noklikšķiniet uz Addon Modules. Then scroll to module named modsecurity. Tad ritiniet modulis nosaukts modsecurity. It should be checked Install and Keep Updated currently. Tas būtu jāpārbauda Instalējiet un regulāri atjauno šobrīd. Just click on Uninstall to remove the mod security feature from Apache web server. Vienkārši noklikšķiniet uz Atinstalēt noņemt mod drošības elementu no Apache Web serveri.

IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: Šī lapa ir mašīna tulkoto un ar nosacījumu ", kas ir" bez garantijas. Machine translation may be difficult to understand. Machine translation var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.


10 Responses to “Remove and Uninstall or Disable ModSecurity (mod_security)” 10 Atbildes uz "Noņemt un Uninstall vai Disable ModSecurity (mod_security)"

  1. Mike Mike
    May 6th, 2009 15:30 6 maijs, 2009 15:30
    10 10

    I had this issue and apparently my host had a specific block in place that prevented the .htaccess modification from taking effect. Man bija šī problēma un acīmredzot mana uzņēmēja bija īpašs bloks vieta, kas neļauj. Htaccess modifikācija no spēkā.

    The solution to remove the module might not be a good idea since it's a server wide change, there is apparently a whitelist file that you can modify to allow specific domains from being exempt. Risinājums, lai novērstu modulis var nebūt laba ideja, jo tā ir servera mēroga pārmaiņas, ir acīmredzot ir whitelist fails, ka jūs varat mainīt, lai ļautu atsevišķās jomās tiek atbrīvoti no nodokļa.

    Just SSH into the server as root using PUTTY or something similar. Just SSH uz servera, kā saknes, izmantojot ŠPAKTEĻTEPES, TEPES vai kaut kas līdzīgs.

    Type the following Tips šādu

    nano usr/local/apache/conf/modsec2/whitelist.conf nano usr/local/apache/conf/modsec2/whitelist.conf

    This will give you a flat screen editor that you can use to modify the file, just add the following line, once for each domain you wish to exempt. Tas dos Jums plakanā ekrāna redaktors, ko var izmantot, lai mainītu failu, vienkārši pievienojiet šādu līnijas, vienu reizi domēna vēlaties atbrīvot.

    SecRule SERVER_NAME “example.com” phase:1,nolog,allow,ctl:ruleEngine=Off SecRule SERVER_NAME "example.com" posma: 1, nolog atļaut ctl: ruleEngine = Off

    no need to replace Server_name with your actual server name, only need to replace example.com with the domain. nav nepieciešams, lai aizstātu Server_name ar jūsu faktisko servera nosaukumu, tikai nepieciešamība aizstāt example.com ar domēnu.

    Apache will then need to be restarted. Apache tad jābūt atsākt.

  2. Webagentur Webagentur
    November 30th, 2008 02:32 Novembris 30, 2008 02:32
    9 9

    Mich würde mal eher interessieren, ob man mit mod_security2 auch Mails verschicken lassen kann? Mich würde mal eher interessieren, ob man mit mod_security2 auch pasta verschicken Lassen kann?

  3. Fairlights Fairlights
    November 21st, 2008 15:25 Novembris 21, 2008 15:25
    8 8

    Awsome, slightly different in the apache i'm using on windows, i just commented out this line: Awsome, kas ir nedaudz citāda, apache Es izmantojot logi, i tikai komentēja šo pozīcija:

    #Include conf/Suite-extra/mod_security.conf # Include conf / Suite-ārējs / mod_security.conf

    Thanks now i can work on my intranet again owe you big time Paldies tagad es varētu strādāt ar manu intraneta atkal parādā jums liels laiks : D

  4. TSSE v4.3 problem - Bravo List TSSE v4.3 problēma - Bravo saraksts
    November 12th, 2008 14:11 Novembris 12, 2008 14:11
    7 7

    [...] if i remeber right, this can be disabled from .htaccess Check the following links for further info: Remove and Uninstall or Disable ModSecurity (mod_security) My Digital Life How to disable mod_security in .htaccess file Disabling mod_security mod_security Guide and [...] [...], Ja es atceros pareizi, tas var tikt izslēgti no. Htaccess Pārbaudiet pēc saites uz papildu info: Noņemiet un Uninstall vai Disable ModSecurity (mod_security) My Digital Life Kā atslēgt mod_security in. Htaccess failu atspējošanas mod_security mod_security rokasgrāmatā un [...]

  5. Melinda Melinda
    October 26th, 2008 06:05 Oktobris 26, 2008 06:05
    6 6

    Just like Flanger, it doesn't work for me. Tāpat kā Flanger, tas nedarbojas man. Adding that two lines seem to block more and it doesn't resolve the error 500 error that was returned by ModSecurity. Piebilstot, ka divas rindas, šķiet, bloķēt vairāk un tas nav atrisināt kļūda 500 kļūdas, kas tika atpakaļ ModSecurity.

  6. Flanger Flanger
    October 20th, 2008 18:58 Oktobris 20, 2008 18:58
    5 5

    it doesnt work for me unfortunately it doesn't darbs man diemžēl : (

    if I add these two lines to my .htaccess file to the root, ja es pievienotu šīm divām līnijām, lai mans. htaccess failu, lai saknes,
    the whole domain is blocked, else if I make .htaccess file visu sfēra ir bloķēts, ko citu, ja man darīt. htaccess failu
    in custom directory and add these lines only that dir is locked in custom katalogs un pievienot šo līniju tikai to, ka dir ir slēgts

    and server gives me Http error 500 internal server error… un servera dod man Http kļūda 500 iekšējā servera kļūda ...

  7. Karlos Karlos
    June 29th, 2008 23:47 Jūnijs 29, 2008 23:47
    4 4

    Cheers, just what I needed, worked first time Cheers, tikai kas man ir nepieciešams, strādāja pirmo reizi

  8. Neran Neran
    April 17th, 2008 17:13 Aprīlis 17, 2008 17:13
    3 3

    Thanks alot! Thanks a lot! It works! It works!

  9. Adam Dempsey Adam Dempsey
    February 2nd, 2008 00:51 Februāris 2, 2008 00:51
    2 2

    Exactly what I was looking for, thanks Tieši to, ko es meklēju, pateicoties :)

  10. John John
    July 7th, 2007 00:16 Jūlijs 7, 2007 00:16
    1 1

    A BIG Thanks to You! A BIG Paldies Jums!

    It really works! Tas tiešām strādā! Thanks You! Paldies Jums!

Leave a Reply Atstāj atbildi

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Jūs varat izmantot šos tagus: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Parakstīties uz komentāriem iezīme ir atspējota. To receive notification of latest comments posted, subscribe to Lai saņemtu paziņojumu par jaunāko komentāri norīkots darbā, abonēt My Digital Life Comments RSS feed Mani Digital Life Comments RSS feed or vai register to receive reģistrēties, lai saņemtu new comments in daily email digest. jauni komentāri ikdienas e-pasta sagremot.
Custom Search

New Articles Jauns pants

Incoming Search Terms for the Article Incoming Meklēt Noteikumi par pants

disable mod_security disable mod_security - -- turn off mod_security izslēdziet mod_security - -- disable MOD SECURITY disable MOD SECURITY - -- disable modsecurity disable modsecurity - -- remove mod_security noņemt mod_security - -- disable mod_security htaccess disable mod_security htaccess - -- how to disable mod_security kā atspējot mod_security - -- uninstall mod_security atinstalēt mod_security - -- modsecurity disable modsecurity atspējot - -- htaccess disable mod_security htaccess atspējot mod_security - -- mod_security disable mod_security atspējot - -- .htaccess mod_security . htaccess mod_security - -- turn off mod security izslēdziet mod drošības - -- mod_security disable htaccess mod_security atspējot htaccess - -- whm mod_security WHM mod_security - -- mod_security WHM mod_security WHM - -- apache disable mod_security apache atspējot mod_security - -- mod_security turn off mod_security izslēdziet - -- apache mod_security disable apache mod_security atspējot - -- Apache mod_security Disabled Apache mod_security Disabled - -- mod_security joomla mod_security Joomla - -- Mod Security turn off Mod Security izslēdziet - -- how to uninstall mod_security Kā atinstalēt mod_security - -- how to turn off mod security kā izslēdziet mod drošības - -- disable mod security .htaccess disable mod drošību. htaccess - -- turn off modsecurity izslēdziet modsecurity - -- disable modsec disable modsec - -- disable ModSecurity apache disable ModSecurity apache - -- how to disable mod security kā atspējot mod drošības - -- how to turn off mod_security kā, lai izslēgtu mod_security - -- disable modsecurity .htaccess disable modsecurity. htaccess - -- mod security disable mod drošības atspējot - -- disable mod_security? disable mod_security? - -- enable mod_security ļautu mod_security - -- mod-security htaccess mod drošības htaccess - -- remove modsecurity noņemt modsecurity - -- mod security whm mod drošības WHM - -- mod security htaccess mod drošības htaccess - -- turn off modsec izslēdziet modsec - -- htaccess mod_security htaccess mod_security - -- disabling mod_security atspējošanas mod_security - -- desactivar mod_security de joomla desactivar mod_security de Joomla - -- uninstall modsecurity atinstalēt modsecurity - -- .htaccess disable mod_security . htaccess atspējot mod_security - -- disable mod_security cpanel disable mod_security cpanel - -- enable mod security dotu mod drošības - -- desactivar mod_security en cpanel desactivar mod_security en cpanel - -- modsecurity rules in htaccess modsecurity noteikumiem htaccess - -- disabling mod_security htaccess atspējošanas mod_security htaccess - -- modsecurity + disable + .htaccess modsecurity + atspējojam +. htaccess - --