Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Apr 2014
    Location
    india
    Posts
    381

    How to use cloudflare with my custom htaccess rules?

    Hi folks,

    I would like to know, How to use cloudflare with my custom htaccess rules?

  2. #2
    Registered User
    Join Date
    Jan 2018
    Posts
    188
    You need to install mod_Cloudflare if you want the real IPs of the users to be shown to your server. Blocking IPs in .htaccess is generally a bad idea for a large list. If this is a VPS or dedicated server, you should do so in the firewall.

  3. #3
    Registered User 24x7servermanag's Avatar
    Join Date
    Jul 2017
    Location
    India
    Posts
    1,022
    That's correct! You should enable the mod_cloudflare on the server. You will need to ask your web-hosting provider whether they will enable this for you. If they are going to enable it then you can use cloudflare with custom htaccess rules.
    Server Management Company
    India's Leading Managed Service Provider | Skype: techs24x7
    Cpanel Technical Discussions - Lets talk !

  4. #4
    Quote Originally Posted by 24x7servermanag View Post
    That's correct! You should enable the mod_cloudflare on the server. You will need to ask your web-hosting provider whether they will enable this for you. If they are going to enable it then you can use cloudflare with custom htaccess rules.
    Thank you for supporting my views.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.