logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in  RSS Apache Lounge  


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.



Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: simple request header problem in http1.0 server
Author
redmonk



Joined: 16 Oct 2017
Posts: 3

PostPosted: Thu 22 Feb '18 15:33    Post subject: simple request header problem in http1.0 server Reply with quote

hello guys
i am using a custom web server that is using HTTP/1.0 protocol.

Now I want to add a header in its config file that captures client IP and sets the header to "CF-Connecting-IP"

This is header required by Cloudflare.

Right now all client IP on this web server come up as cloudflare IP and I want them to come up as real client IP and if you read here. It is mentioned to use this CF-Connecting-IP header in the web server config but since I'm not using any of the mentioned web servers (nginx etc) but a custom webserver I cant get it to work.

https://support.cloudflare.com/hc/en-us/sections/200805497-Restoring-Visitor-IPs
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6673
Location: Germany, Next to Hamburg

PostPosted: Fri 23 Feb '18 0:05    Post subject: Reply with quote

Can your custom server log any of the clients request header?
Back to top


Reply to topic   Topic: simple request header problem in http1.0 server View previous topic :: View next topic
Post new topic   Forum Index -> Other Software