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

موضوع: همه چیز درمورد CloudFlare

Threaded View

پست قبلی پست قبلی   پست بعدی پست بعدی
  1. #21
    عضو انجمن
    تاریخ عضویت
    Apr 2009
    نوشته ها
    110
    تشکر تشکر کرده 
    126
    تشکر تشکر شده 
    149
    تشکر شده در
    122 پست

    پیش فرض پاسخ : همه چیز درمورد CloudFlare

    نقل قول نوشته اصلی توسط Mr_Parham نمایش پست ها
    برای Apache نیست فقط، کلا سی پنل، هر وب سروری هم باشه فرقی نمیکنه (این جور گفتن)، ولی Nginx فکر کنم به مشکل بخوره اگر دستی نصب بشه چون با Cpanel درست integrate نمیشه !
    هر کسی هم از تو سیپنلش می تونه با یک کلیک Cloud flare رو فعال کنه و لازم نیست دیگه اون چند مرحله رو توی سایشون طی کنه


    توی سایتشون هست
    بله هست اما فایل رو دانلود و آپلود کردم توی روت و دستوری رو که گفته شده دادم اما به نتجه ای نرسیدم برای همین گفتم دوستانی که در این کار هستن بخونن و بگن شکل درست فرمانش چی هست.

    کد:
    Description
    
    Based on mod_remoteip.c, this apache extension will replace the remote_ip variable in user's logs with the correct remote_ip sent from CloudFlare. This also does authentication, only performing the switch for requests originating from 204.93.173.0/24 (by default).
    Installation
    
    # apxs2 -a -i -c mod_cloudflare.c
    
    No further configuration is needed. However, if you wish to override the default values, the following directives are exposed:
    CloudFlareRemoteIPHeader
    
    This specifies the header which contains the original IP. Default:
    
    CloudFlareRemoteIPHeader CF-Connecting-IP
    CloudFlareRemoteIPTrusted*****
    
    This is the IP range from which we will allow the CloudFlareRemoteIPHeader to be used from. Default:
    
    CloudFlareRemoteIPTrusted***** 204.93.240.0/24
    CloudFlareRemoteIPTrusted***** 204.93.177.0/24
    CloudFlareRemoteIPTrusted***** 204.93.173.0/24
    CloudFlareRemoteIPTrusted***** 199.27.128.0/21
    CloudFlareRemoteIPTrusted***** 173.245.48.0/20
    
    Note that on some Debian systems, you may have to add a LoadModule directive manually.
    
    This should look like: LoadModule cloudflare_module /usr/lib/apache2/modules/mod_cloudflare.so
    
    Replace /usr/lib/apache2/modules/mod_cloudflare.so with the path to mod_cloudflare.so on your system.
    
    If you cannot find apxs or apxs2, on a Debian or Ubuntu distro you can install this tool with:
    
    # apt-get install apache2-prefork-dev
    Notes
    
    If mod_cloudflare and mod_remoteip are enabled on the same web server, the server will crash if they both try to set the remote IP to a different value.
    
    Enabling mod_cloudflare will not effect the performance of Apache in any noticeable manner. AB testing both over LAN and WAN show no equivalent numbers with and without mod_cloudflare.
    
    If you like, you may also add the directive DenyAllButCloudFlare. This will result in all requests from IPs which are not in the CloudFlareRemoteIPTrusted***** range being denied with a status of 403.

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


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

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

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

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

  1. پاسخ ها: 8
    آخرين نوشته: May 7th, 2018, 11:47
  2. فیلم های آموزش Cpanel ؛ فارسی و ریز به ریز
    توسط jamal در انجمن مباحث و منایع آموزشی
    پاسخ ها: 10
    آخرين نوشته: February 25th, 2018, 00:02
  3. پاسخ ها: 37
    آخرين نوشته: August 6th, 2015, 21:17
  4. آنالیز وب - آنالیز و بهینه سازی سایت برای موتورجستجو
    توسط Tumrusx در انجمن مباحث و منابع آموزشی
    پاسخ ها: 4
    آخرين نوشته: December 12th, 2014, 20:39

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

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