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

Mailing List Archive: Apache: Users

RE: [SPAM] - [users@httpd] Reserve Proxy / X-Forwarded-FOR Configuration? - Email found in subject

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


jmacaranas at fxdd

Oct 25, 2007, 6:44 AM

Post #1 of 4 (580 views)
Permalink
RE: [SPAM] - [users@httpd] Reserve Proxy / X-Forwarded-FOR Configuration? - Email found in subject

You can see it in the logs provided that you add X-forwarded-for in the
log config... but from the page itself I think you need to extract it
from header...



From: Michael Grund [mailto:grund.michael [at] googlemail]
Sent: Thursday, October 25, 2007 9:06 AM
To: users [at] httpd
Subject: [SPAM] - [users [at] http] Reserve Proxy / X-Forwarded-FOR
Configuration? - Email found in subject



Hi, all

i have the problem to configure an Apache with X-Forwarded-For so my
other Apache Server can see the Ip Address from the Client and not from
the Reverse Proxy.

I dont know what i should configure in the Apache. The Reverse Proxy
work but i see only the Ip of the Proxy :(
Do i need the Apache Modul "mod_extra_forwarded"?? Or does the Apache
have some module integrated?.. In the Modul mod_proxy (Apache 2.2) there
is something like X-Forwarded-For but i have no clue how i should
implement this..


Ps. Sry for my bad english ;)

Michael


--------------------------------------------------------------------------------------------------------
This message and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom it is
addressed. It may contain sensitive and private proprietary or legally
privileged information. No confidentiality or privilege is waived or
lost by any mistransmission. If you are not the intended recipient,
please immediately delete it and all copies of it from your system,
destroy any hard copies of it and notify the sender. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any
part of this message if you are not the intended recipient.
FXDirectDealer, LLC reserves the right to monitor all e-mail
communications through its networks. Any views expressed in this
message are those of the individual sender, except where the
message states otherwise and the sender is authorized to state them.

Unless otherwise stated, any pricing information given in this message
is indicative only, is subject to change and does not constitute an
offer to deal at any price quoted. Any reference to the terms of
executed transactions should be treated as preliminary only and subject
to our formal confirmation. FXDirectDealer, LLC is not responsible for any
recommendation, solicitation, offer or agreement or any information
about any transaction, customer account or account activity contained in
this communication.


jmacaranas at fxdd

Oct 25, 2007, 6:48 AM

Post #2 of 4 (569 views)
Permalink
RE: RE: [SPAM] - [users@httpd] Reserve Proxy / X-Forwarded-FOR Configuration? - Email found in subject [In reply to]

Hmm... assuming that the proxy inserts x-forwarded-for



From: jmacaranas [at] fxdd [mailto:jmacaranas [at] fxdd]
Sent: Thursday, October 25, 2007 9:45 AM
To: users [at] httpd
Subject: [users [at] http] RE: [SPAM] - [users [at] http] Reserve Proxy /
X-Forwarded-FOR Configuration? - Email found in subject



You can see it in the logs provided that you add X-forwarded-for in the
log config... but from the page itself I think you need to extract it
from header...



From: Michael Grund [mailto:grund.michael [at] googlemail]
Sent: Thursday, October 25, 2007 9:06 AM
To: users [at] httpd
Subject: [SPAM] - [users [at] http] Reserve Proxy / X-Forwarded-FOR
Configuration? - Email found in subject



Hi, all

i have the problem to configure an Apache with X-Forwarded-For so my
other Apache Server can see the Ip Address from the Client and not from
the Reverse Proxy.

I dont know what i should configure in the Apache. The Reverse Proxy
work but i see only the Ip of the Proxy :(
Do i need the Apache Modul "mod_extra_forwarded"?? Or does the Apache
have some module integrated?.. In the Modul mod_proxy (Apache 2.2) there
is something like X-Forwarded-For but i have no clue how i should
implement this..


Ps. Sry for my bad english ;)

Michael

------------------------------------------------------------------------
-----
This message and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom it is
addressed. It may contain sensitive and private proprietary or legally
privileged information. No confidentiality or privilege is waived or
lost by any mistransmission. If you are not the intended recipient,
please immediately delete it and all copies of it from your system,
destroy any hard copies of it and notify the sender. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any
part of this message if you are not the intended recipient.
FXDirectDealer, LLC reserves the right to monitor all e-mail
communications through its networks. Any views expressed in this
message are those of the individual sender, except where the
message states otherwise and the sender is authorized to state them.

Unless otherwise stated, any pricing information given in this message
is indicative only, is subject to change and does not constitute an
offer to deal at any price quoted. Any reference to the terms of
executed transactions should be treated as preliminary only and subject
to our formal confirmation. FXDirectDealer, LLC is not responsible for
any
recommendation, solicitation, offer or agreement or any information
about any transaction, customer account or account activity contained in
this communication.


grund.michael at googlemail

Oct 26, 2007, 12:55 AM

Post #3 of 4 (569 views)
Permalink
Re: RE: [SPAM] - [users@httpd] Reserve Proxy / X-Forwarded-FOR Configuration? - Email found in subject [In reply to]

I insert "LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\" %T %v %{X-Forwarded-For}i" xfull"
but i didnt get any Log :( I only see the Ip from the Reverse Proxy.
What should configure in the Reverse Proxy (Apache) so that it writes an
X-Forwared-For Header?



On 10/25/07, jmacaranas [at] fxdd <jmacaranas [at] fxdd> wrote:
>
> Hmm… assuming that the proxy inserts x-forwarded-for
>
>
>
> *From:* jmacaranas [at] fxdd [mailto:jmacaranas [at] fxdd]
> *Sent:* Thursday, October 25, 2007 9:45 AM
> *To:* users [at] httpd
> *Subject:* [users [at] http] RE: [SPAM] - [users [at] http] Reserve Proxy /
> X-Forwarded-FOR Configuration? - Email found in subject
>
>
>
> You can see it in the logs provided that you add X-forwarded-for in the
> log config… but from the page itself I think you need to extract it from
> header…
>
>
>
> *From:* Michael Grund [mailto:grund.michael [at] googlemail]
> *Sent:* Thursday, October 25, 2007 9:06 AM
> *To:* users [at] httpd
> *Subject:* [SPAM] - [users [at] http] Reserve Proxy / X-Forwarded-FOR
> Configuration? - Email found in subject
>
>
>
> Hi, all
>
> i have the problem to configure an Apache with X-Forwarded-For so my other
> Apache Server can see the Ip Address from the Client and not from the
> Reverse Proxy.
>
> I dont know what i should configure in the Apache. The Reverse Proxy work
> but i see only the Ip of the Proxy :(
> Do i need the Apache Modul "mod_extra_forwarded"?? Or does the Apache have
> some module integrated?.. In the Modul mod_proxy (Apache 2.2) there is
> something like X-Forwarded-For but i have no clue how i should implement
> this..
>
>
> Ps. Sry for my bad english ;)
>
> Michael
>
>
> -----------------------------------------------------------------------------
> This message and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom it is
> addressed. It may contain sensitive and private proprietary or legally
> privileged information. No confidentiality or privilege is waived or
> lost by any mistransmission. If you are not the intended recipient,
> please immediately delete it and all copies of it from your system,
> destroy any hard copies of it and notify the sender. You must not,
> directly or indirectly, use, disclose, distribute, print, or copy any
> part of this message if you are not the intended recipient.
> FXDirectDealer, LLC reserves the right to monitor all e-mail
> communications through its networks. Any views expressed in this
> message are those of the individual sender, except where the
> message states otherwise and the sender is authorized to state them.
>
> Unless otherwise stated, any pricing information given in this message
> is indicative only, is subject to change and does not constitute an
> offer to deal at any price quoted. Any reference to the terms of
> executed transactions should be treated as preliminary only and subject
> to our formal confirmation. FXDirectDealer, LLC is not responsible for any
> recommendation, solicitation, offer or agreement or any information
> about any transaction, customer account or account activity contained in
> this communication.
>
>
> -----------------------------------------------------------------------------
> This message and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom it is
> addressed. It may contain sensitive and private proprietary or legally
> privileged information. No confidentiality or privilege is waived or
> lost by any mistransmission. If you are not the intended recipient,
> please immediately delete it and all copies of it from your system,
> destroy any hard copies of it and notify the sender. You must not,
> directly or indirectly, use, disclose, distribute, print, or copy any
> part of this message if you are not the intended recipient.
> FXDirectDealer, LLC reserves the right to monitor all e-mail
> communications through its networks. Any views expressed in this
> message are those of the individual sender, except where the
> message states otherwise and the sender is authorized to state them.
>
> Unless otherwise stated, any pricing information given in this message
> is indicative only, is subject to change and does not constitute an
> offer to deal at any price quoted. Any reference to the terms of
> executed transactions should be treated as preliminary only and subject
> to our formal confirmation. FXDirectDealer, LLC is not responsible for any
> recommendation, solicitation, offer or agreement or any information
> about any transaction, customer account or account activity contained in
> this communication.
>
>


nick at webthing

Oct 26, 2007, 1:14 AM

Post #4 of 4 (568 views)
Permalink
Re: RE: [SPAM] - [users@httpd] Reserve Proxy / X-Forwarded-FOR Configuration? - Email found in subject [In reply to]

On Fri, 26 Oct 2007 09:55:33 +0200
"Michael Grund" <grund.michael [at] googlemail> wrote:

> What should configure in the Reverse Proxy (Apache) so that it writes
> an X-Forwared-For Header?

It does that by default, at least in current versions.

You can see that and other nonstandard headers by running the
printenv CGI script on the backend server, and checking the
HTTP_* variables it prints.

--
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd

Apache users 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.