Remove and Uninstall or Disable ModSecurity (mod_security) Retire e Desinstalar ou Desativar ModSecurity (mod_security)

ModSecurity is an open source embeddable web application firewall, or intrusion detection and prevention engine for web applications. ModSecurity é uma fonte aberta incorporável aplicação web firewall, prevenção ou detecção de invasões e motores para aplicações web. 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 fornece proteção de uma série de ataques contra aplicações web e permite o tráfego HTTP para a monitorização e análise em tempo real, sem alterações de infra-estruturas existentes, a operar como um servidor web Apache módulo mod_security ou autônomos, e, assim, aumentar aplicação web segurança. 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. No entanto, errada ou demasiado rigorosa regra fixa, ModSecurity pode causar o seu site para retornar vários erros, tais como HTTP 403 Proibido erro ou acesso negado erro, login problemas, ou HTTP 412 Requisito Falha erro, ou HTTP 406 Não Aceitável erro e outros sintomas positivos falsos .

To make matter worse, the configuration of ModSecurity rules and filters have to be done manually. Para tornar a questão ainda pior, a configuração do ModSecurity regras e filtros têm de ser feito manualmente. 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. Apesar de haver livre predefinidos certificadas Estado definir o que pode ser utilizado com ModSecurity fora da caixa, porém estabelece a regra não pode ser apropriado para todos e cada ambiente, e pode interferir com o funcionamento dos sites ou blogs, customizando e modificando as regras e maio ser muito sofisticado ou complicado para alguns usuários. And for some websites that hosted on shared hosting service, the mod_security may be enable by default without options. E, para alguns sites que hospedados em serviço de hospedagem compartilhada, o mod_security pode ser por omissão, permitir que, sem opções. So in this case, the best solution or workaround for mod security related issues is to disable mod_security filtering and rules. Portanto, neste caso, a melhor solução ou solução para as questões relacionadas com segurança mod é para desativar a filtragem mod_security e regras.

If you’re using Apache web server (which mostly do), mod_security can be disabled by adding a specific in .htaccess file. Se você estiver usando o servidor web Apache (o que fazer na maior parte), mod_security pode ser desativado por adição de uma específica. Htaccess arquivo. 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: Localize o arquivo. Htaccess arquivo no diretório raiz da web Apache (ou public_html / var / www / ou outros), se ele não existir, criar um novo arquivo chamado. Htaccess, e adicione o código a seguir em:


SecFilterEngine Off SecFilterEngine Off
SecFilterScanPOST Off SecFilterScanPOST Off

The above entries in the .htaccess will disable the ModSecurity (mod_security) module for the domain. As inscrições no acima. Htaccess irá desativar o ModSecurity (mod_security) módulo para o domínio.

Uninstallation of ModSecurity (mod_security) from Apache module Desinstalação de ModSecurity (mod_security) de módulo 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. A maneira mais fácil de remover e desinstalação mod_security se a comentar ou apagar os relacionados com as entradas de mod_security httpd.conf Apache arquivo de configuração. The lines that should be removed include: As linhas que devem ser removidos incluem:

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 Incluir "/ usr / local / apache / conf / modsec.conf" Esta linha pode ser diferente, dependendo de qual variante do Linux ou Unix você usou a instalação e localização

Save the httpd.conf and restart the Apache. Salve o httpd.conf e reinicie o Apache. ModSecurity will not be loaded and as if uninstalled. ModSecurity não será carregado e como se desinstalado.

If you’re using WebHost Manager (WHM), uninstallation is even simpler. Se você estiver usando WebHost Manager (WHM), desinstalação é ainda mais simples. Just scroll to cPanel section, and click on Addon Modules. Basta percorrer a seção cPanel, e clique no botão Addon módulos. Then scroll to module named modsecurity. Depois desloque-se para módulo chamado modsecurity. It should be checked Install and Keep Updated currently. Deve ser verificado Instalar e manter actualizado neste momento. Just click on Uninstall to remove the mod security feature from Apache web server. Basta clicar em Desinstalar para remover o mod de segurança característica de servidor web Apache.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Esta é uma página traduzida máquina que é fornecida "como está" sem garantia. Machine translation may be difficult to understand. A tradução automática pode ser difícil de compreender. Please refer to Por favor, consulte a original English article Inglês original article whenever possible. sempre que possível.

Share and contribute or get technical support and help at Compartilhe e contribuir ou obter suporte técnico e ajudar a My Digital Life Forums Minha vida digital Fóruns .



4 Responses to “Remove and Uninstall or Disable ModSecurity (mod_security)” 4 As respostas ao "Remover e Desinstalar ou Desativar ModSecurity (mod_security)"

  1. John
    July 7th, 2007 00:16 Dia 7 de julho, 2007 00:16
    1

    A BIG Thanks to You! Um grande Obrigado a você!

    It really works! É realmente funciona! Thanks You! Obrigado!

  2. Adam Dempsey Adam Dempsey
    February 2nd, 2008 00:51 2 de fevereiro de 2008 00:51
    2

    Exactly what I was looking for, thanks Exatamente o que eu estava procurando, obrigado :)

  3. Neran
    April 17th, 2008 17:13 17 de abril de 2008 17:13
    3

    Thanks alot! Thanks a lot! It works! Ele funciona!

  4. Karlos
    June 29th, 2008 23:47 29 de junho de 2008 23:47
    4

    Cheers, just what I needed, worked first time Cheers, só o que eu precisava, trabalhou primeira vez

Leave a Reply Deixe uma resposta

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> Você pode usar estas tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Subscreva sem comentar


Custom Search

New Articles Novos Artigos

Incoming Search Terms for the Article Incoming Termos de pesquisa para o artigo

disable modsecurity desativar modsecurity - -- disable mod security desativar mod de segurança - -- disable mod_security desativar mod_security - -- htaccess mod_security htaccess mod_security - -- turn off mod_security desligar mod_security - -- mod_security disable mod_security desativar - -- disable mod_security htaccess desativar mod_security htaccess - -- mod_security .htaccess mod_security. htaccess - -- disable mod_security .htaccess desativar mod_security. htaccess - -- .htaccess disable mod_security . htaccess desativar mod_security - -- disable mod_sec desativar mod_sec - -- mod_security htaccess htaccess mod_security - -- How to disable mod security Como desativar a segurança mod - -- how to disable mod_security como desativar mod_security - -- mod_security disable htaccess mod_security desativar htaccess - -- uninstall mod_security desinstalar mod_security - -- mod security disable mod segurança desativar - -- remove mod_security remover mod_security - -- .htaccess mod_security . htaccess mod_security - -- turn off modsecurity desligar modsecurity - -- htaccess disable mod_security htaccess desativar mod_security - -- apache disable modsecurity Apache desativar modsecurity - -- how to disable modsecurity como desativar modsecurity - -- htaccess modsecurity htaccess modsecurity - -- how to turn off mod security mod desligar o modo de segurança - -- apache disable mod_security desativar o Apache mod_security - -- disable mod security htaccess desativar mod segurança htaccess - -- disable mod_security apache desativar o Apache mod_security - -- modsecurity disable rule modsecurity desativar regra - -- turn off mod security desligar mod de segurança - -- remove modsecurity remover modsecurity - -- modsecurity htaccess htaccess modsecurity - -- mod_sec disable mod_sec desativar - -- whm Mod Security whm Mod Segurança - -- htaccess mod security htaccess mod de segurança - -- htaccess disable mod security htaccess desativar mod de segurança - -- disable mod_security httpd.conf desativar mod_security httpd.conf - -- disable mod security apache desativar mod segurança Apache - -- modsecurity disable htaccess modsecurity desativar htaccess - -- disable mod_security with .htaccess desativar a mod_security. htaccess - -- turn off mod_security htaccess desligar mod_security htaccess - -- disable mod-security desativar mod-segurança - -- mod_security2 disable mod_security2 desativar - -- disable mod_security2 desativar mod_security2 - -- disable modsec using .htaccess desativar modsec usando. htaccess - -- disable mod_security via .htaccess desativar mod_security via. htaccess - -- mod_security uninstall mod_security desinstalar - -- turn off mod security htaccess desligar mod segurança htaccess - -- disable mod_security2 htaccess desativar mod_security2 htaccess - -- how to turn off mod_security a forma de desligar mod_security - --