IIS and Apache proxy

  • Thread starter Thread starter =?iso-8859-1?q?Peter_Lundb=E4ck?=
  • Start date Start date
?

=?iso-8859-1?q?Peter_Lundb=E4ck?=

Hi,

Maybe this ain't the correct group for this question but i'll give it a
try.

We have a Apache machine acting as a front-end server to a IIS 6.0
server for security reasons.

On the IIS server we have a ASP.NET 2.0 application running and some
logic is based on the client IP.

When we use this configuration we get the apache ip as the requesting
ip in our application (no wonder why :-). I wonder if there is any way
that Apache can forward the real ip from the original client to the IIS
machine?

Best regards
Peter Lundbäck
(e-mail address removed)
 
Apache group might be better but...

There's a chance the IP address IS being included in the request, but under
a different header. I once worked in a similar setup and the IP address was
coming in under the X-HTTP-Request-For or something, turn tracing on and
take a look at all the HTTP Headers.

If not, take a look at:
http://groups.google.co.uk/group/al...b?lnk=st&q=Aliases+and+Redirects&rnum=1&hl=en

It describes how to add that extra header.

Karl
--
http://www.openmymind.net/



Hi,

Maybe this ain't the correct group for this question but i'll give it a
try.

We have a Apache machine acting as a front-end server to a IIS 6.0
server for security reasons.

On the IIS server we have a ASP.NET 2.0 application running and some
logic is based on the client IP.

When we use this configuration we get the apache ip as the requesting
ip in our application (no wonder why :-). I wonder if there is any way
that Apache can forward the real ip from the original client to the IIS
machine?

Best regards
Peter Lundbäck
(e-mail address removed)
 
Back
Top