Remove and Uninstall or Disable ModSecurity (mod_security) Премахване и деинсталиране или Деактивиране ModSecurity (mod_security)

ModSecurity is an open source embeddable web application firewall, or intrusion detection and prevention engine for web applications. ModSecurity е с отворен код embeddable уеб приложение защитна стена, или смущаване разкриване и предотвратяване на двигателя за уеб приложения. 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 осигурява защита от поредица от атаки срещу Web приложения и позволява HTTP трафика мониторинг и анализ в реално време, без никакви промени на съществуващата инфраструктура, чрез оперативните като уеб сървъра Apache модул mod_security или автономен, и по този начин увеличи уеб приложение сигурност. 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. Въпреки това, misconfigured или прекалено строги правила комплекти, ModSecurity може да предизвика вашия уеб сайт, за да се върнете различни грешки, като например HTTP 403 Забранени грешка или отказан достъп грешка, вход проблеми, или HTTP 412 Precondition Failed погрешка или HTTP 406 грешка за неприемливо и други фалшиви положителни симптоми .

To make matter worse, the configuration of ModSecurity rules and filters have to be done manually. За да направите въпроса лошо, конфигурацията на ModSecurity правила и филтри, трябва да се направи ръчно. 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. Въпреки наличието на свободни предварително зададени правила, определени сертифицирани, което може да се използва с ModSecurity из полето, но правилото може да се определя не са подходящи за всеки и всеки околната среда и може да се намесва в работата на уебсайтове или блогове, както и по избор и промяната на правилата могат да е твърде сложно и объркващо за някои потребители. And for some websites that hosted on shared hosting service, the mod_security may be enable by default without options. А за някои уебсайтове, които хостват на споделен хостинг услуга, mod_security може да се даде възможност по подразбиране, без опции. So in this case, the best solution or workaround for mod security related issues is to disable mod_security filtering and rules. Така че в този случай, най-доброто решение, или заобиколно решение за моден въпросите, свързани със сигурността е да изключите mod_security филтриране и правила.

If you’re using Apache web server (which mostly do), mod_security can be disabled by adding a specific in .htaccess file. Ако използвате Apache уеб сървър (който най-често правя), mod_security може да бъде изключено чрез добавяне на определен в. 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: Намерете. Htaccess файл в главната директория Apache Web (public_html / или Var / WWW / или други), ако тя не съществува, създайте нов файл с име. Htaccess, и да добавите в следния код:


SecFilterEngine Off SecFilterEngine Изключено
SecFilterScanPOST Off SecFilterScanPOST Изключено

The above entries in the .htaccess will disable the ModSecurity (mod_security) module for the domain. Предходните вписвания в. Htaccess ще прекратяваме ModSecurity (mod_security) модул за домейна.

Uninstallation of ModSecurity (mod_security) from Apache module Деинсталация на ModSecurity (mod_security) от Apache модул

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. Най-лесният начин да се премахне и деинсталиране mod_security е да се коментират или изтриване на свързаните mod_security записи от httpd.conf Apache конфигурационния файл. The lines that should be removed include: Линиите, които трябва да бъдат премахнати, включват:

AddModule mod_security.c AddModule mod_security.c
LoadModule security_module modules/mod_security.so LoadModule security_module модули / 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 Включете "/ ЮЕсАр / местни / Apache / конф / modsec.conf" Тази линия може да бъде различен в зависимост от това какво вариант на Linux или Unix сте използвали и монтаж местоположение

Save the httpd.conf and restart the Apache. Спасете httpd.conf и рестартирайте Apache. ModSecurity will not be loaded and as if uninstalled. ModSecurity няма да се товарят и като че деинсталиран.

If you’re using WebHost Manager (WHM), uninstallation is even simpler. Ако използвате WebHost Manager (WHM), деинсталация е още по-лесно. Just scroll to cPanel section, and click on Addon Modules. Просто преминете към cPanel раздел, и кликнете на Адон модули. Then scroll to module named modsecurity. След това преминете към модул на име modsecurity. It should be checked Install and Keep Updated currently. Тя трябва да се провери Инсталирай и актуализира в момента. Just click on Uninstall to remove the mod security feature from Apache web server. Просто щракнете върху Деинсталиране за отстраняване на Министерството на отбраната функция за защита от Apache уеб сървър.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. ВАЖНО: Това е една машина преведени страници, които се предоставят "както е" без гаранция. Machine translation may be difficult to understand. Машинен превод може да е трудно да разбереш. Please refer to Моля, вижте original English article оригиналния английски статия whenever possible. когато е възможно.

Share and contribute or get technical support and help at Споделете и да допринасят или да техническа поддръжка и помощ My Digital Life Forums Моят Дигитален живот Форуми .



8 Responses to “Remove and Uninstall or Disable ModSecurity (mod_security)” 8 Отговор към "Премахване и деинсталиране или Деактивиране ModSecurity (mod_security)"

  1. John Клозет
    July 7th, 2007 00:16 7-ми юли 2007 00:16
    1

    A BIG Thanks to You! Голяма благодарност към Вас!

    It really works! Това наистина работи! Thanks You! Благодарим Ви!

  2. Adam Dempsey Адам Dempsey
    February 2nd, 2008 00:51 2-ри февруари 2008 00:51
    2

    Exactly what I was looking for, thanks Точно това, което търсех, благодаря :)

  3. Neran
    April 17th, 2008 17:13 17-ти април 2008 17:13
    3

    Thanks alot! Много благодаря! It works! Работи!

  4. Karlos
    June 29th, 2008 23:47 29-ти юни 2008 23:47
    4

    Cheers, just what I needed, worked first time Наздраве, просто това, което е необходимо, работили първи път

  5. Flanger
    October 20th, 2008 18:58 20 октомври, 2008 18:58
    5

    it doesnt work for me unfortunately то doesn't работиш за мен за съжаление : (

    if I add these two lines to my .htaccess file to the root, ако добавите тези два реда ми. htaccess файл в корена,
    the whole domain is blocked, else if I make .htaccess file целия домейн е блокиран, ако не друго нещо. htaccess файл
    in custom directory and add these lines only that dir is locked обичай в директория и да добавите тези редове, само ни каза, че е заключена

    and server gives me Http error 500 internal server error… и сървър ми дава HTTP 500 грешка вътрешна грешка в сървър ...

  6. Melinda Мелинда
    October 26th, 2008 06:05 26-ти октомври 2008 06:05
    6

    Just like Flanger, it doesn’t work for me. Точно като Flanger, тя не работи за мен. Adding that two lines seem to block more and it doesn’t resolve the error 500 error that was returned by ModSecurity. Добавянето, че две линии изглежда да блокират повече и той не решава за грешка 500, който беше грешка, върнат с ModSecurity.

  7. TSSE v4.3 problem - Bravo List TSSE v4.3 проблем - Браво Списък
    November 12th, 2008 14:11 12-ти ноември 2008 14:11
    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 [...] [...] Ако си спомням така, това може да бъде изключено от. Htaccess Проверете следните линкове за повече инфо: Премахване и деинсталиране или Деактивиране ModSecurity (mod_security) My Digital Животът Как да забраните mod_security в. Htaccess файл Деактивирането mod_security mod_security водач и [...]

  8. Fairlights
    November 21st, 2008 15:25 21-ви ноември 2008 15:25
    8

    Awsome, slightly different in the apache i’m using on windows, i just commented out this line: Awsome, малко по-различно в Apache Аз съм за използване на Windows, аз просто коментирам този ред:

    #Include conf/Suite-extra/mod_security.conf # Включете конф / Suite допълнително / mod_security.conf

    Thanks now i can work on my intranet again owe you big time Благодаря, сега мога да работя в моя интранет пак дължа голяма времето : D

Leave a Reply Оставете коментар

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> Можете да използвате тези тагове: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <дел datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Абонирайте се за коментарите функцията е била изключена. To receive notification of latest comments posted, subscribe to За да получавате известия за най-новите коментари, публикувани, за да се абонирате My Digital Life Comments RSS feed Моят живот цифрови Коментари RSS емисия or или register to receive регистрирайте, за да получат new comments in daily email digest. нови коментари в дневния имейл дайджест.
Custom Search

New Articles Нови членове

Incoming Search Terms for the Article Постъпили търсене Условия за статията

disable mod security htaccess прекратяваме моден сигурност htaccess - -- htaccess disable mod_security htaccess прекратява mod_security - -- cpanel disable mod_security cpanel прекратява mod_security - -- deactivate mod security apache деактивирате моден сигурност Apache - -- deactivate mod_security .htaccess деактивирате mod_security. htaccess - -- disable mod_security cpanel прекратяваме mod_security cpanel - -- disabling ModSecurity блокирането ModSecurity - -- hostingzoom disable mod_security hostingzoom прекратява mod_security - -- how to disable mod_security for specific users? как да деактивирате mod_security за конкретни потребители? - -- how to disable modsecurity как да деактивирате modsecurity - -- htaccess disable apache mod_security htaccess прекратява Apache mod_security - -- httpd turn off mod_security httpd изключите mod_security - -- idsable mod security idsable моден сигурност - -- mod security + turn off моден сигурност + изключите - -- Switch OFF mod_security in server Изключвайте mod_security в сървъра - -- turn off mod_security .htaccess изключите mod_security. htaccess - -- disable ModSecurity прекратяваме ModSecurity - -- disable mod security прекратяваме моден сигурност - -- Disable mod_security for apache Изключване на mod_security за Apache - -- htaccess disable mod_security htaccess прекратява mod_security - -- mod_security: Access denied with code 405 mod_security: Достъп отказан с код 405 - --