نمایش نتایج: از شماره 1 تا 1 , از مجموع 1

موضوع: چگونگی پاک کردن یا غیر فعال کردن mod_evasive از آپاچ

  1. #1
    مدیر کل Vahid آواتار ها
    تاریخ عضویت
    Aug 2008
    نوشته ها
    2,724
    تشکر تشکر کرده 
    435
    تشکر تشکر شده 
    6,976
    تشکر شده در
    2,085 پست

    پیش فرض چگونگی پاک کردن یا غیر فعال کردن mod_evasive از آپاچ

    How to remove or disable mod_evasive from Apache Web Server?

    Quite a few web server administrators have mod_evasive installed to protect the servers they are responsible for. Mod_evasive is one way to stop several kind of attacks on a server. This apache module will help protect against computers sending too many requests to a webserver in a short period of time in an attempt to flood it with traffic and to make it unreachable that way.

    However - sometimes mod_evasive can be a problem for a server itself. If not fine-tuned for a specific server, the rules can cause more damage to a server than providing protection. Search engines as an example tend to hit a website pretty hard and pretty fast in a short period of time to index it. Usually this does not cause server problems, but if mod_evasive is running with not very fine-tuned rules, it can consider a search engine as an attacker and then block the search engine from spidering a website.

    One option is to install mod_evasive on a server, but not to turn it on by default. A webmaster can decide to have it just ready to go in case the server gets attacked. Mod_evasive would be installed on a server and then disabled. Here is how to do just that:

    1) SSH into the web server as root and switch directories to get access to the httpd.conf file. Usually this can be done by going to "cd /etc/httpd/conf" or by going to "cd /usr/local/apache/conf"

    2) Make a backup of the httpd.conf file. Now open httpd.conf and disable the lines that mention mod_evasive. This will probably be in two places. Example:

    change "LoadModule evasive_module libexex/mod_evasive" to "#LoadModule evasive_module libexex/mod_evasive"
    and
    change "AddModule mod_evasive.c" to "#AddModule mod_evasive.c"

    3) Now with in the "conf" folder open the "mod_evasive.conf" and either delete the content (make a backup first) or rename the file to "mod_evasive.conf.old". Renaming to something other is the preferred way as it will easily allow you to turn it back on in a matter of seconds by renaming the file and by enabling the 2 lines in the httpd.conf file.

    4) Restart Apache webserver and test your website. Mod_evasive is now disabled.

    برای پیش رفت در علم آسانسوری وجود ندارد پله ها را باید پیاده رفت /./ همیشه این یادتان باشد که دست بالای دست بسیار است.
    يادمان باشد براي يك بار ايستادن صد ها بار افتاده ايم /./ بک آپ مهمترین رمز موفقیت هاستینگ /./ امنیت مطلق نیست.
    ارتباط مستقیم با من :
    Admin -{(@)}- WebHostingTalk . ir

  2. تعداد تشکر ها از Vahid به دلیل پست مفید


  3. # ADS




     

اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. مشکل کارنکردن ماژول mod_evasive برروی ساب دامین
    توسط perseplis32 در انجمن سوالات و مشکلات
    پاسخ ها: 4
    آخرين نوشته: November 17th, 2017, 21:39
  2. نصب و پيكربندي mod_evasive
    توسط reeza در انجمن سرور مجازی
    پاسخ ها: 2
    آخرين نوشته: March 10th, 2012, 13:07
  3. mod_evasive
    توسط Deltawhois در انجمن سی پنل CPanel
    پاسخ ها: 5
    آخرين نوشته: April 17th, 2010, 10:08
  4. نصب و پيكربندي mod_evasive
    توسط mehrserver در انجمن مباحث و منابع آموزشی
    پاسخ ها: 7
    آخرين نوشته: July 6th, 2009, 14:37
  5. نصب و پيكربندي mod_evasive
    توسط Soheil Extreme در انجمن مباحث و منابع آموزشی
    پاسخ ها: 4
    آخرين نوشته: February 11th, 2009, 15:19

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •