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

موضوع: نصب Mod_Throttle بر روی CPANEL

Threaded View

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

    پیش فرض نصب Mod_Throttle بر روی CPANEL

    This Apache module is intended to reduce the load on your server & bandwidth generated by popular virtual hosts, directories, locations, or users according to supported polices (see below) that decide when to delay or refuse requests. Also mod_throttle can track and throttle incoming connections by IP address or by authenticated remote user.
    Every request now passes through four levels of throttling, which are: by client's IP address (ThrottleClientIP), by authenticated remote user name (ThrottleRemoteUser), by local user ID (ThrottleUser), and by directory, location, virtual host, or server (ThrottlePolicy).
    To install with cPanel, SSH into your server as root and perform the following:
    cd /usr/src
    wget http://www.snert.com/Software/mod_throttle/mod_throttle312.tgz

    tar zxvf mod_throttle312.tgz cd mod_throttle-3.1.2
    pico Makefile
    Then edit the line that reads:
    APXS=apxs
    And change it to read:
    APXS=/usr/local/apache/bin/apxs
    Save the file and then:
    make
    make install
    service httpd restart
    Usage

    Best bet is to go to http://www.snert.com/Software/mod_throttle/ and read up on all the options, but I will give you an example of limiting a site, and how to monitor all your throttled sites status.

    Edit your /etc/httpd/conf/httpd.conf and locate the virtualhost entry for the site you wish to throttle. Just BEFORE the </VirtualHost> entry, insert:
    <IfModule mod_throttle.c>
    ThrottlePolicy Volume 10G 30d
    </IfModule>
    <Location /throttle-me>
    SetHandler throttle-me
    </Location>

    The ThrottlePolicy line is the key. The first number is the amount of data and acceptable letters are G, M and K. The second number is the period and acceptable letters are m, w, d, h, and s.

    Then restart Apache (service httpd restart) Now you can go to:
    http://throttleddomain.com/throttle-me
    And see the status of the throttle.

    If you want to be able to see the status of all throttled sites on the server at once, go to the first virtualhost entry in your httpd.conf file (this should be the entry for your server's hostname) and add the following:
    <Location /throttle-status>
    SetHandler throttle-status
    </Location>

    Then restart Apache again, and you can go to http://host.name.com/throttle-status and see the status of all throttled sites.
    برای پیش رفت در علم آسانسوری وجود ندارد پله ها را باید پیاده رفت /./ همیشه این یادتان باشد که دست بالای دست بسیار است.
    يادمان باشد براي يك بار ايستادن صد ها بار افتاده ايم /./ بک آپ مهمترین رمز موفقیت هاستینگ /./ امنیت مطلق نیست.
    ارتباط مستقیم با من :
    Admin -{(@)}- WebHostingTalk . ir

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


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

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

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

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

  1. نصب خودکار وردپرس بر روی cPanel
    توسط mandana32 در انجمن Wordpress
    پاسخ ها: 4
    آخرين نوشته: January 17th, 2017, 21:28
  2. مشکلی در نصب کنترل Cpanel روی لینوکس
    توسط warlock در انجمن سوالات و مشکلات
    پاسخ ها: 5
    آخرين نوشته: December 12th, 2014, 16:06
  3. لایسنس cpanel برای یک سایت روی وی پی اس
    توسط Rezaee در انجمن درخواست انواع لایسنس
    پاسخ ها: 11
    آخرين نوشته: July 23rd, 2014, 13:26
  4. پاسخ ها: 1
    آخرين نوشته: July 4th, 2012, 21:28
  5. پارک دامین بر روی ساب دامین در cpanel
    توسط 2s2 در انجمن سی پنل CPanel
    پاسخ ها: 3
    آخرين نوشته: June 25th, 2012, 11:08

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

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