Remove and Uninstall or Disable ModSecurity (mod_security) Demontujete a Odinštalujte alebo zakážte ModSecurity (mod_security)

ModSecurity is an open source embeddable web application firewall, or intrusion detection and prevention engine for web applications. ModSecurity je open source webová aplikácia zapustitelný firewall, alebo detekciu a prevenciu motorov pre webové aplikácie. 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 poskytuje ochranu zo série útokov na webové aplikácie a umožňuje HTTP monitorovanie prevádzky a real-time analýza bez zmeny existujúcej infraštruktúry, ktorý funguje ako webový server Apache modul mod_security alebo samostatná, a tým pádom aj zvýšenie bezpečnosti webových aplikácií. 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. Ale zle alebo príliš prísne pravidlo stanovuje, ModSecurity môže spôsobiť vaše webové stránky pre návrat rôzne chyby, ako napríklad HTTP 403 zakázaného chyba alebo odmietnutia prístupu chybu, prihlásiť problémy alebo HTTP 412 predpokladom Nepodarilo chybu, alebo HTTP 406 neakceptovateľných chýb a ďalších falošne pozitívne symptómy .

To make matter worse, the configuration of ModSecurity rules and filters have to be done manually. Aby sa veci ešte horšie, konfiguráciu ModSecurity pravidlá a filtre, ktoré je potrebné urobiť ručne. 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. I keď tam sú zadarmo preddefinované overené pravidlo set, ktorý môže byť použitý s ModSecurity z krabice, ale stanovuje pravidlá nemusia byť vhodné pre každého prostredia a môžu narušiť fungovanie webových stránok alebo blogov, a prispôsobujú a mení pravidlá môžu byť príliš sofistikované a zložité pre niektorých užívateľov. And for some websites that hosted on shared hosting service, the mod_security may be enable by default without options. A pre niektoré webové stránky, ktoré hostilo na zdieľaných hostingových služieb sa mod_security dá zapnúť v predvolenom stave bez možností. So in this case, the best solution or workaround for mod security related issues is to disable mod_security filtering and rules. Takže v tomto prípade je najlepšie riešenie, alebo riešenie pre mod bezpečnostné otázky týkajúce sa vypnúť mod_security filtrovanie a pravidiel.

If you're using Apache web server (which mostly do), mod_security can be disabled by adding a specific in .htaccess file. Ak používate webový server Apache (čo väčšinou robia) mod_security dá vypnúť pridaním špecifické. Htaccess. 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: Prejdite. Htaccess v koreňovom adresári webového servera Apache (alebo public_html / var / www / alebo iné), ak neexistuje, vytvorte nový súbor. Htaccess, a pridá sa na nasledujúci kód:


SecFilterEngine Off SecFilterEngine Vypnuté
SecFilterScanPOST Off SecFilterScanPOST Vypnuté

The above entries in the .htaccess will disable the ModSecurity (mod_security) module for the domain. Vyššie uvedené údaje vo formáte. Htaccess sa vypína ModSecurity (mod_security) modul pre doménu.

Uninstallation of ModSecurity (mod_security) from Apache module Odinštalácia ModSecurity (mod_security) od Apache modul

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. Najjednoduchšia cesta k odstráneniu a odinštalovanie mod_security je komentár, alebo odstrániť súvisiace mod_security údaje z konfiguračného súboru Apache httpd.conf. The lines that should be removed include: Na tratiach, ktoré by mali byť odstránené, zahŕňajú:

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" Táto položka sa môže líšiť v závislosti na tom, čo variant alebo Linux a Unix ste použili umiestnenie inštalácie

Save the httpd.conf and restart the Apache. Uložte httpd.conf a reštartovať Apache. ModSecurity will not be loaded and as if uninstalled. ModSecurity nebude naložené a ako keby odinštaloval.

If you're using WebHost Manager (WHM), uninstallation is even simpler. Ak používate webhost Manager (WHM), odinštalácia je ešte jednoduchšie. Just scroll to cPanel section, and click on Addon Modules. Jednoducho prejdite do cPanel sekcii a kliknite na Addon moduly. Then scroll to module named modsecurity. Potom prejdite na modul pomenovaný modsecurity. It should be checked Install and Keep Updated currently. Je potrebné skontrolovať Inštalovať a aktualizovať súčasnosti. Just click on Uninstall to remove the mod security feature from Apache web server. Stačí kliknúť na Odinštalovať odstrániť mod bezpečnostné funkcie z Apache web server.

IMPORTANT : The page is machine translated and provided "as is" without warranty. Upozornenie: Stránka je stroje preložené a poskytované "tak ako sú" bez záruky. Machine translation may be difficult to understand. Strojový preklad môže byť ťažké pochopiť. Please refer to Obráťte sa prosím na original English article Anglický originál článku whenever possible. kedykoľvek je to možné.


10 Responses to “Remove and Uninstall or Disable ModSecurity (mod_security)” 10 Reakcie na "Odstrániť a odinštalujte alebo zakážte ModSecurity (mod_security)"

  1. Mike Mike
    May 6th, 2009 15:30 6. mája 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. Mal som tento problém a zrejme môj hostiteľ bol konkrétny blok, ktorá zabránila. Htaccess zmena od nadobudnutia účinnosti.

    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. Roztok pre odstránenie modulu nemusí byť dobrý nápad, pretože je to server širokú zmeny, je zrejme whitelist súbor, ktorý môžete upraviť, aby špecifických oblastiach budú oslobodené.

    Just SSH into the server as root using PUTTY or something similar. Len SSH na server ako root pomocou tmel alebo niečo podobné.

    Type the following Zadajte nasledujúce

    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. To vám plochá obrazovka editor, ktorý môžete použiť k zmene súboru, pridajte nasledujúci riadok, raz pre každú doménu, ktorú chcete vybrať.

    SecRule SERVER_NAME “example.com” phase:1,nolog,allow,ctl:ruleEngine=Off SecRule názov_servera "example.com" fázy: 1, nolog, dovoľte, CTL: ruleEngine = Off

    no need to replace Server_name with your actual server name, only need to replace example.com with the domain. nie je potrebné nahradiť názov_servera so svojím skutočným menom servera, iba potrebu nahradiť example.com s doménou.

    Apache will then need to be restarted. Apache sa potom musia byť reštartuje.

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

    Mich würde mal eher interessieren, ob man mit mod_security2 auch Mails verschicken lassen kann? Wurde mich mal eher interessieren, ob muž auch mit mod_security2 emaily verschicken Lassen kann?

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

    Awsome, slightly different in the apache i'm using on windows, i just commented out this line: Awsome, mierne odlišné v apache jsem použitie na okná, komentované i len v tomto riadku:

    #Include conf/Suite-extra/mod_security.conf # Include conf / Suite-extra / mod_security.conf

    Thanks now i can work on my intranet again owe you big time Vďaka teraz môžem pracovať na svojom intranete opäť vám dlužím veľký : D

  4. TSSE v4.3 problem - Bravo List TSSE v4.3 problém - Bravo Zoznam
    November 12th, 2008 14:11 12. novembra 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 [...] [...] Ak Pamätám pravdu, môže to byť z postihnutých. Htaccess Pozrite sa na nasledujúce odkazy na ďalšie info: Odstrániť a odinštalujte alebo zakážte ModSecurity (mod_security) My Digital Life Ako vypnúť mod_security in. Htaccess Vyhostiť mod_security mod_security a sprievodcovia [...]

  5. Melinda Melinda
    October 26th, 2008 06:05 26. októbra 2008 06:05
    6 6

    Just like Flanger, it doesn't work for me. Rovnako ako Flanger, to nie je práca pre mňa. Adding that two lines seem to block more and it doesn't resolve the error 500 error that was returned by ModSecurity. A dodáva, že dva riadky zdajú blok viac a nie je vyriešiť chybu 500 chýb, ktoré boli vrátené ModSecurity.

  6. Flanger Flanger
    October 20th, 2008 18:58 20. október 2008 18:58
    5 5

    it doesnt work for me unfortunately doesnt práca je pre mňa bohužiaľ : (

    if I add these two lines to my .htaccess file to the root, Aj v prípade pridania týchto dvoch riadkov na môj. Htaccess súbor do koreňového adresára,
    the whole domain is blocked, else if I make .htaccess file celá doména je blokovaná, ešte keď som sa. htaccess
    in custom directory and add these lines only that dir is locked vo vlastnej adresára a pridajte tieto riadky len dir, že je uzamknutý

    and server gives me Http error 500 internal server error… a server mi dáva Http chyba 500 vnútorná chyba servera ...

  7. Karlos Karlos
    June 29th, 2008 23:47 29. júna 2008 23:47
    4 4

    Cheers, just what I needed, worked first time Vďaka, len to, čo som potreboval, pracoval prvýkrát

  8. Neran Neran
    April 17th, 2008 17:13 17. apríla 2008 17:13
    3 3

    Thanks alot! Díky moc! It works! Funguje to!

  9. Adam Dempsey Adam Dempsey
    February 2nd, 2008 00:51 2. februára 2008 00:51
    2 2

    Exactly what I was looking for, thanks Presne to, čo som hľadal, vďaka :)

  10. John John
    July 7th, 2007 00:16 7. júla 2007 00:16
    1 1

    A BIG Thanks to You! A BIG Ďakujeme vám!

    It really works! Je to naozaj funguje! Thanks You! Thanks you!

Leave a Reply Nechaj Odpoveď

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> Môžete použiť tieto značky: <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. Vyberajte komentáre funkcia bola vypnutá. To receive notification of latest comments posted, subscribe to Ak chcete dostávať oznámenie o najnovšie komentáre posta, prihláste sa My Digital Life Comments RSS feed My Digital Life Komentáre RSS or alebo register to receive register pre príjem new comments in daily email digest. nové komentáre v dennom email Digest.
Custom Search

New Articles Nové články

Incoming Search Terms for the Article Incoming Vyhľadávanie Podmienky pre článok

disable mod_security vypnúť mod_security - -- turn off mod_security vypnúť mod_security - -- disable MOD SECURITY zakáže MOD ZABEZPEČENIE - -- disable modsecurity vypnúť modsecurity - -- remove mod_security odobrať mod_security - -- disable mod_security htaccess vypnúť mod_security htaccess - -- how to disable mod_security Ako vypnúť mod_security - -- uninstall mod_security odinštalovať mod_security - -- modsecurity disable modsecurity vypnúť - -- htaccess disable mod_security htaccess vypnúť mod_security - -- mod_security disable mod_security vypnúť - -- .htaccess mod_security . Htaccess mod_security - -- turn off mod security vypnite mod zabezpečenia - -- mod_security disable htaccess mod_security vypnúť htaccess - -- whm mod_security WHM mod_security - -- mod_security WHM mod_security WHM - -- apache disable mod_security apache zakáže mod_security - -- mod_security turn off mod_security vypnúť - -- apache mod_security disable apache mod_security vypnúť - -- Apache mod_security Disabled Apache mod_security Zdravotne postihnutí - -- mod_security joomla mod_security Joomla - -- Mod Security turn off Mod bezpečnostné vypnutie - -- how to uninstall mod_security ako odinštalovať mod_security - -- how to turn off mod security jak vypnout mod zabezpečenia - -- disable mod security .htaccess zakáže mod bezpečnosti. htaccess - -- turn off modsecurity vypnúť modsecurity - -- disable modsec vypnúť modsec - -- disable ModSecurity apache vypnúť ModSecurity apache - -- how to disable mod security Ako vypnúť mod zabezpečenia - -- how to turn off mod_security jak vypnout mod_security - -- disable modsecurity .htaccess vypnúť modsecurity. htaccess - -- mod security disable mod bezpečnostné vypnutie - -- disable mod_security? vypnúť mod_security? - -- enable mod_security umožniť mod_security - -- mod-security htaccess mod-bezpečnostné htaccess - -- remove modsecurity odobrať modsecurity - -- mod security whm mod zabezpečenia WHM - -- mod security htaccess mod zabezpečenia htaccess - -- turn off modsec vypnúť modsec - -- htaccess mod_security htaccess mod_security - -- disabling mod_security vypnutím mod_security - -- desactivar mod_security de joomla desactivar mod_security de Joomla - -- uninstall modsecurity odinštalovať modsecurity - -- .htaccess disable mod_security . Htaccess vypnúť mod_security - -- disable mod_security cpanel vypnúť mod_security cPanel - -- enable mod security zapnout mod zabezpečenia - -- desactivar mod_security en cpanel desactivar mod_security en cPanel - -- modsecurity rules in htaccess modsecurity pravidlá v htaccess - -- disabling mod_security htaccess vypnutím mod_security htaccess - -- modsecurity + disable + .htaccess modsecurity + + vypnúť. htaccess - --