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 является открытым источником Подключенные веб-приложений брандмауэра, или обнаружения вторжений и предотвращения движок для веб-приложений. 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 обеспечивает защиту от целого ряда нападений на веб-приложений и позволяет 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. Тем не менее, неправильно или чрезмерно строгое правило устанавливает, ModSecurity может привести ваш сайт, чтобы вернуться различные ошибки, такие как HTTP 403 Запрещено ошибка или ошибка Access Denied, есть проблемы, или HTTP 412 Ошибка предварительного условия ошибку, или 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 Off
SecFilterScanPOST Off SecFilterScanPOST Off

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 записей, связанных с Apache httpd.conf файл конфигурации. 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 Включить "/ USR / местные / Apache / Conf / 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. Если вы используете хостинга 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 Моя Цифровая жизнь Форумы .



6 Responses to “Remove and Uninstall or Disable ModSecurity (mod_security)” 6 Ответы на "Удалить и Удалить или отключить ModSecurity (mod_security)"

  1. John Джон
    July 7th, 2007 00:16 7 июля 2007 год 00:16
    1

    A BIG Thanks to You! BIG Спасибо вам!

    It really works! Это действительно работает! Thanks You! Спасибо Вам!

  2. Adam 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 Cheers, только то, что мне было нужно, работали впервые

  5. Flanger
    October 20th, 2008 18:58 20 Октября 2008 18:58
    5

    it doesnt work for me unfortunately это не работа для меня, к сожалению, : (

    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.

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 without commenting Подписка без комментариев


Custom Search

New Articles Новые статьи

Incoming Search Terms for the Article Входящий Поиск Условия для статьи

disable mod_security htaccess htaccess отключить mod_security - -- disable mod_security отключить mod_security - -- disable mod security отключить мода безопасности - -- turn off mod_security отключить mod_security - -- how to disable mod_security Как отключить mod_security - -- disable ModSecurity отключить ModSecurity - -- htaccess mod_security htaccess mod_security - -- mod_security htaccess mod_security htaccess - -- mod_security disable mod_security отключить - -- .htaccess mod_security . htaccess mod_security - -- htaccess disable mod_security htaccess отключить mod_security - -- disable mod_security2 отключить mod_security2 - -- htaccess disable mod security htaccess отключить мода безопасности - -- mod security disable Мод безопасности отключить - -- disable mod_security2 htaccess htaccess отключить mod_security2 - -- disabling modsecurity отключить modsecurity - -- turn off mod security отключить мода безопасности - -- disable mod_security .htaccess отключить mod_security. htaccess - -- disable mod security .htaccess отключить мода безопасности. htaccess - -- uninstall modsecurity удалить modsecurity - -- turning off mod_security отключить mod_security - -- disabling mod_security отключить mod_security - -- uninstall modsecurity удалить modsecurity - -- uninstall mod security удалить мод безопасности - -- apache disable mod_security Apache отключить mod_security - -- disable mod_security apache2 отключить mod_security apache2 - -- modsecurity .htaccess modsecurity. htaccess - -- how to disable modsecurity Как отключить modsecurity - -- mod_security turn off mod_security отключить - -- uninstall mod_security удалить mod_security - -- how to disable Mod_security Как отключить Mod_security - -- mod_security2 disable mod_security2 отключить - -- .htaccess disable mod_security . htaccess отключить mod_security - -- mod_security securityengine mod_security securityengine - -- mod_security2 .htaccess mod_security2. htaccess - -- modsecurity htaccess modsecurity htaccess - -- ModSecurity turn off ModSecurity выключить - -- how to disable mod security Как отключить мода безопасности - -- remove ModSecurity удалить ModSecurity - -- apache turn off mod_security Apache отключить mod_security - -- how to disable mod_security2 Как отключить mod_security2 - -- disable mod_sec отключить mod_sec - -- turn mod_security off свою очередь, mod_security Off - -- disable mod_security in one directory отключить mod_security в одном каталоге - -- htaccess mod_sec htaccess mod_sec - -- .htaccess modsecurity . htaccess modsecurity - -- mod security cpanel Мод безопасности CPanel - -- removing my site from mod security удалить сайт из мод безопасности - -- remove mod_security удалить mod_security - -- disable mod_security отключить mod_security - --