Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

356
Views
Allow IP through htaccess using Cloudflare Proxy

I'm using

Allow from 123.234.12.23

to whitelist IP addresses without needing to enter in the htpasswd credentials.

I've just switched to use Cloudflare proxy (to protect bypassing CF firewall) but now all requests to my server (from Apache logs) are coming in as Cloudflare IP's.


How can I access the requester's actual IP so that I don't have to keep entering in the credentials if I'm on a whitelisted IP?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

To do this you need to install mod_cloudflare for Apache.

https://support.cloudflare.com/hc/en-us/articles/200170916-Restoring-original-visitor-IPs-Option-1-Installing-mod-cloudflare


Since my machine was running on Ubuntu, I ended up following the guide from this site which worked for me to install it on Ubuntu.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!