Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: dev

Issue 633 in cherokee: Would like X-Real-IP/X-Forwarded-For passed onto CGI/FCGI scripts as REMOTE_ADDR

 

 

Cherokee dev RSS feed   Index | Next | Previous | View Threaded


codesite-noreply at google

Nov 17, 2009, 3:44 PM

Post #1 of 5 (542 views)
Permalink
Issue 633 in cherokee: Would like X-Real-IP/X-Forwarded-For passed onto CGI/FCGI scripts as REMOTE_ADDR

Status: New
Owner: ----

New issue 633 by puccia: Would like X-Real-IP/X-Forwarded-For passed onto
CGI/FCGI scripts as REMOTE_ADDR
http://code.google.com/p/cherokee/issues/detail?id=633

I've deployed a blog software that will use the REMOTE_ADDR paramenter, as
digested by PHP, to
log visits. Now it's running on Cherokee behind a reverse proxy, so it will
always log the proxy's IP
address.

I think it would be great to have Cherokee pass on the X-Real-IP or
X-Forwarded-For header,
instead of the actual IP Source address, when the logger is enabled to do
the same. I'm unsure if
anything existing would break because of such a change.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Nov 19, 2009, 3:33 AM

Post #2 of 5 (496 views)
Permalink
Re: Issue 633 in cherokee: Would like X-Real-IP/X-Forwarded-For passed onto CGI/FCGI scripts as REMOTE_ADDR [In reply to]

Updates:
Status: Started
Owner: alobbs
Labels: Type-Enhancement Priority-Medium OpSys-All Component-Logic

Comment #1 on issue 633 by alobbs: Would like X-Real-IP/X-Forwarded-For
passed onto CGI/FCGI scripts as REMOTE_ADDR
http://code.google.com/p/cherokee/issues/detail?id=633

The first half has made it to trunk:

http://svn.cherokee-project.com/changeset/3840

The cherokee-admin side of things is still missing though.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Nov 19, 2009, 3:55 AM

Post #3 of 5 (487 views)
Permalink
Re: Issue 633 in cherokee: Would like X-Real-IP/X-Forwarded-For passed onto CGI/FCGI scripts as REMOTE_ADDR [In reply to]

Updates:
Status: WaitingQA

Comment #2 on issue 633 by alobbs: Would like X-Real-IP/X-Forwarded-For
passed onto CGI/FCGI scripts as REMOTE_ADDR
http://code.google.com/p/cherokee/issues/detail?id=633

The second half is done as well:

http://svn.cherokee-project.com/changeset/3842

Could you please give it a try? :-)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Nov 19, 2009, 3:00 PM

Post #4 of 5 (488 views)
Permalink
Re: Issue 633 in cherokee: Would like X-Real-IP/X-Forwarded-For passed onto CGI/FCGI scripts as REMOTE_ADDR [In reply to]

Comment #3 on issue 633 by puccia: Would like X-Real-IP/X-Forwarded-For
passed onto CGI/FCGI scripts as REMOTE_ADDR
http://code.google.com/p/cherokee/issues/detail?id=633

Installed and tested in an OpenSolaris zone (the frontend serving all the
HTTP reqs on port 80 is in a separate
zone, and this particular Cherokee instance only serves certain virtual
hosts).

Works like a charm!

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Nov 20, 2009, 2:15 AM

Post #5 of 5 (485 views)
Permalink
Re: Issue 633 in cherokee: Would like X-Real-IP/X-Forwarded-For passed onto CGI/FCGI scripts as REMOTE_ADDR [In reply to]

Updates:
Status: Fixed

Comment #4 on issue 633 by alobbs: Would like X-Real-IP/X-Forwarded-For
passed onto CGI/FCGI scripts as REMOTE_ADDR
http://code.google.com/p/cherokee/issues/detail?id=633

Great. Thanks for the feedback.. :-)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev

Cherokee dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.