niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Apache
Reverse Proxy with internal redirects
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
scott.marquardt@regalbelo
*nix forums beginner


Joined: 20 Jul 2006
Posts: 1

PostPosted: Thu Jul 20, 2006 8:12 pm    Post subject: Reverse Proxy with internal redirects Reply with quote

I have a 2 node internal environment. http://internal-apps and
http://internal-sso. The reverse proxy has two virtual hosts configured
as http://external-apps and http://external-sso. All reverse proxy
configs work except when the application server needs to authenticate to
the sso server. The app server redirects the client to the internal name
of the sso server and not to the external name. There is no way to change
the redirection problem on the app server.

My question is, can the location header variable be rewritten before the
external client receives it and makes the request to the internal server
name?
Back to top
<Oliver.Schaudt@unilog
*nix forums addict


Joined: 11 Nov 2005
Posts: 78

PostPosted: Thu Jul 20, 2006 8:53 pm    Post subject: RE: Reverse Proxy with internal redirects Reply with quote

Quote:
I have a 2 node internal environment. http://internal-apps and
http://internal-sso. The reverse proxy has two virtual hosts configured
as http://external-apps and http://external-sso. All reverse proxy
configs work except when the application server needs to authenticate to
the sso server. The app server redirects the client to the internal name
of the sso server and not to the external name. There is no way to change
the redirection problem on the app server.

My question is, can the location header variable be rewritten before the
external client receives it and makes the request to the internal server
name?

Despite of the fact that i don't know your real configuration,
i would say, you miss
ProxyPassReverse ...
or
ProxyPreserveHost On

More is only possible when you show a real config

Bye

Oliver
Back to top
Joost de Heer
*nix forums Guru


Joined: 30 Mar 2005
Posts: 339

PostPosted: Fri Jul 21, 2006 9:34 am    Post subject: Re: Reverse Proxy with internal redirects Reply with quote

Quote:
My question is, can the location header variable be rewritten before the
external client receives it and makes the request to the internal server
name?

ProxyPassReverse should be able to do that.

Joost


---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Sun Nov 23, 2008 2:04 pm | All times are GMT
navigation Forum index » Apps » Apache
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Filtering internal mail and forwarding to another domain fmaa1 Postfix 0 Wed Apr 30, 2008 12:50 pm
No new posts Insert header and footer in every page served by proxy ehmedk Apache 0 Tue Apr 22, 2008 6:27 pm
No new posts transparent proxy Crystal Akimoto Squid 3 Fri Jan 26, 2007 5:58 am
No new posts Urgent and imp. Making Squid 2.6 stable as tranpsarent proxy SHERDIL Squid 0 Thu Aug 03, 2006 11:18 am
No new posts Reverse proxying through a forward proxy? Joost de Heer Apache 0 Fri Jul 21, 2006 9:38 am

Mortgage Calculator | Samsung | Personal Loans | Ringtones | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1367s ][ Queries: 16 (0.0596s) ][ GZIP on - Debug on ]