Remove and Uninstall or Disable ModSecurity (mod_security) Hapus dan Uninstall atau Nonaktifkan ModSecurity (mod_security)
ModSecurity is an open source embeddable web application firewall, or intrusion detection and prevention engine for web applications. ModSecurity merupakan open source aplikasi web embeddable firewall, atau deteksi dan pencegahan gangguan mesin untuk aplikasi 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 memberikan perlindungan dari berbagai serangan terhadap aplikasi web dan memungkinkan untuk lalu lintas HTTP pemantauan dan analisis real-time tanpa perubahan infrastruktur yang ada, dengan beroperasi sebagai server Web Apache modul mod_security atau mandiri, dan dengan demikian meningkatkan keamanan aplikasi web. 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. Namun, terkonfigurasi atau menetapkan aturan terlalu ketat, dapat menyebabkan ModSecurity website Anda untuk kembali berbagai kesalahan seperti HTTP 403 Forbidden access denied error atau kesalahan, masalah login, atau HTTP 412 Persyaratan Gagal kesalahan, atau HTTP 406 Not Acceptable kesalahan dan lain-lain gejala positif palsu .
To make matter worse, the configuration of ModSecurity rules and filters have to be done manually. Untuk membuat masalah lebih buruk, konfigurasi ModSecurity aturan dan filter harus dilakukan secara manual. 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. Walaupun ada aturan bersertifikat bebas menetapkan standar yang dapat digunakan dengan ModSecurity di luar kotak, namun set aturan mungkin tidak cocok untuk setiap lingkungan dan dapat mengganggu pengoperasian website atau blog, dan mengubah dan memodifikasi aturan mungkin terlalu canggih atau rumit untuk beberapa pengguna. And for some websites that hosted on shared hosting service, the mod_security may be enable by default without options. Dan untuk beberapa situs Web yang di-host di layanan hosting bersama, yang mungkin mod_security mengaktifkan secara default tanpa pilihan. So in this case, the best solution or workaround for mod security related issues is to disable mod_security filtering and rules. Jadi dalam hal ini, solusi terbaik atau solusi untuk masalah-masalah terkait keamanan mod adalah untuk menonaktifkan mod_security penyaringan dan aturan.
If you're using Apache web server (which mostly do), mod_security can be disabled by adding a specific in .htaccess file. Jika Anda menggunakan server web Apache (yang sebagian besar melakukannya), mod_security bisa dinonaktifkan dengan menambahkan spesifik dalam file. 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: Cari file. Htaccess di Apache web direktori root (public_html atau / var / www / atau orang lain), jika tidak ada, buatlah sebuah file baru bernama. Htaccess, dan tambahkan kode berikut:
SecFilterEngine Off SecFilterEngine Off
SecFilterScanPOST Off SecFilterScanPOST Off
The above entries in the .htaccess will disable the ModSecurity (mod_security) module for the domain. Entri di atas di. Htaccess akan menonaktifkan ModSecurity (mod_security) modul untuk domain.
Uninstallation of ModSecurity (mod_security) from Apache module Penghapusan instalasi dari ModSecurity (mod_security) dari 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. Cara termudah untuk menghapus dan menghapus mod_security adalah untuk komentar atau menghapus entri dari mod_security terkait konfigurasi Apache httpd.conf file. The lines that should be removed include: Garis yang harus dihapus termasuk:
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" Baris ini mungkin berbeda tergantung pada apa yang varian dari Linux atau Unix kamu digunakan dan lokasi instalasi
Save the httpd.conf and restart the Apache. Simpan httpd.conf dan restart Apache. ModSecurity will not be loaded and as if uninstalled. ModSecurity tidak akan dimuat dan seolah-olah dihapus.
If you're using WebHost Manager (WHM), uninstallation is even simpler. Jika Anda menggunakan webhost Manager (WHM), penghapusan instalasi bahkan lebih sederhana. Just scroll to cPanel section, and click on Addon Modules. Hanya gulir ke bagian cPanel, dan klik pada Addon Modules. Then scroll to module named modsecurity. Kemudian gulir ke modul bernama modsecurity. It should be checked Install and Keep Updated currently. Itu harus diperiksa Instal dan Jauhkan Diperbarui saat ini. Just click on Uninstall to remove the mod security feature from Apache web server. Cukup klik Hapus untuk menghapus mod fitur keamanan dari server web Apache.
IMPORTANT : The page is machine translated and provided "as is" without warranty. PENTING: Halaman ini adalah mesin diterjemahkan dan diberikan "sebagaimana adanya" tanpa jaminan. Machine translation may be difficult to understand. Terjemahan mesin mungkin sulit untuk mengerti. Please refer to Silakan merujuk ke original English article artikel asli bahasa Inggris whenever possible. bila memungkinkan.
Related Articles Artikel Terkait
- How to Disable (Remove and Uninstall) Windows Defender in Vista Cara Nonaktifkan (Angkat dan Uninstall) Windows Defender di Vista
- How to Disable (Uninstall and Remove) Windows Media Center in Vista Cara Nonaktifkan (Uninstall dan Hapus) Windows Media Center di Vista
- How to Remove and Disable IE8 (Uninstall Internet Explorer 8) from Windows 7 Cara Hapus dan Nonaktifkan IE8 (Uninstall Internet Explorer 8) dari Windows 7
- Disable, Remove and Uninstall U3 Launchpad Nonaktifkan, Hapus dan Uninstall U3 Launchpad
- Disable, Uninstall and Remove Skype Add-On Call This Phone Number on Web Page and Toolbar Plugin Menu in IE Nonaktifkan, Uninstall dan Hapus Skype Add-On Call Nomer ini pada Web Page dan Toolbar Menu Plugin di IE
- Workaround to Disable and Remove OGA Office Not Genuine Notifications (Uninstall KB949810) Solusi untuk Nonaktifkan dan Hapus OGA Kantor Tidak Asli Notifikasi (Uninstall KB949810)
- Workaround to Manually Uninstall, Remove or Delete Firefox Addon With Add-Ons Uninstall Button Disabled Solusi untuk manual Uninstall, Hapus atau Hapus Firefox Addon Dengan Add-ons Disabled Button Hapus
- Hack to Remove/Uninstall Symantec Norton Antivirus (SAV) Client without Password Hack untuk Remove / Uninstall Symantec Norton Antivirus (SAV) Client tanpa Password
- Uninstall and Remove Multiple Database Instances of Microsoft SQL Server 2005 Uninstall dan Hapus Multiple Instances Database Microsoft SQL Server 2005
- Improve Apache Web Server Security: Use ServerTokens and ServerSignature to Disable Header Meningkatkan Apache Web Server Security: Gunakan ServerTokens dan ServerSignature untuk Nonaktifkan Header










































May 6th, 2009 15:30 6 Mei 2009 15:30
I had this issue and apparently my host had a specific block in place that prevented the .htaccess modification from taking effect. Aku punya masalah ini dan tampaknya angkat saya punya blok di tempat tertentu yang mencegah. Htaccess modifikasi dari mengambil efek.
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. Solusi untuk menghapus modul mungkin bukan ide yang baik karena ini server perubahan lebar, rupanya ada sebuah file daftar putih yang dapat Anda modifikasi untuk membolehkan dari domain tertentu yang dikecualikan.
Just SSH into the server as root using PUTTY or something similar. Hanya SSH ke server sebagai root menggunakan Putty atau yang serupa.
Type the following Ketik berikut
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. Ini akan memberikan Anda sebuah layar datar editor yang dapat Anda gunakan untuk memodifikasi file, tambahkan baris berikut, sekali untuk setiap domain Anda ingin dikecualikan.
SecRule SERVER_NAME “example.com” phase:1,nolog,allow,ctl:ruleEngine=Off SecRule SERVER_NAME "example.com" fase: 1, nolog, memungkinkan, CTL: ruleEngine = Off
no need to replace Server_name with your actual server name, only need to replace example.com with the domain. tidak perlu mengganti Server_name dengan nama server Anda yang sebenarnya, hanya perlu mengganti example.com dengan domain.
Apache will then need to be restarted. Apache akan perlu restart.
November 30th, 2008 02:32 30 November 2008 02:32
Mich würde mal eher interessieren, ob man mit mod_security2 auch Mails verschicken lassen kann? Würde mich eher mal interessieren, ob man auch mit Mails mod_security2 lassen verschicken kann?
November 21st, 2008 15:25 21 November 2008 15:25
Awsome, slightly different in the apache i'm using on windows, i just commented out this line: Awsome, sedikit berbeda dalam apache Saya menggunakan pada jendela, saya hanya tanda komentar baris ini:
#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 Thanks sekarang saya dapat bekerja di intranet lagi berutang besar waktu
November 12th, 2008 14:11 12 November 2008 14:11
[...] 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 [...] [...] Jika saya ingat benar, ini dapat dinonaktifkan dari. Htaccess Periksa link berikut untuk info lebih lanjut: Hapus dan Uninstall atau Nonaktifkan ModSecurity (mod_security) My Digital Life Cara menonaktifkan mod_security di file. Htaccess mod_security Menonaktifkan mod_security Panduan dan [...]
October 26th, 2008 06:05 26 Oktober 2008 06:05
Just like Flanger, it doesn't work for me. Sama seperti Flanger, tidak bekerja bagi saya. Adding that two lines seem to block more and it doesn't resolve the error 500 error that was returned by ModSecurity. Menambahkan bahwa tampaknya dua baris untuk memblokir lebih dan tidak menyelesaikan 500 kesalahan kesalahan yang dikembalikan oleh ModSecurity.
October 20th, 2008 18:58 20 Oktober 2008 18:58
it doesnt work for me unfortunately it doesnt work for me sayangnya
if I add these two lines to my .htaccess file to the root, jika saya menambahkan dua baris ini ke file. htaccess ke root,
the whole domain is blocked, else if I make .htaccess file seluruh domain diblokir, lain jika saya membuat file. htaccess
in custom directory and add these lines only that dir is locked dalam direktori kustom dan tambahkan baris-baris ini hanya itu dir terkunci
and server gives me Http error 500 internal server error… dan server memberiku Http error 500 server internal error ...
June 29th, 2008 23:47 29 Juni 2008 23:47
Cheers, just what I needed, worked first time Cheers, hanya apa yang saya butuhkan, bekerja pertama kalinya
April 17th, 2008 17:13 17 April 2008 17:13
Thanks alot! Thanks a lot! It works! It works!
February 2nd, 2008 00:51 2 Februari 2008 00:51
Exactly what I was looking for, thanks Apa yang saya cari, terima kasih
July 7th, 2007 00:16 7 Juli 2007 00:16
A BIG Thanks to You! BESAR Thanks to You!
It really works! It really works! Thanks You! Thanks You!