Setting portal hostname, reverse proxy scneario
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > Setting portal hostname, reverse proxy scneario




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Setting portal hostname, reverse proxy scneario  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-31-07 12:22 PM

I need to set the hostname explicitly, so that the portal server does not take the hostname from t
he request. My setup has a reverse proxy server that routes an address http://frontserver.com
/wps/* to http://wpsserver/wps/*. So all requests that come to t
he frontserver are routed to requests to the wpsserver and the responses are then route
d unchanged to the client. Now when a user clicks login on the login page (he has surfe
d to frontserver.com/wps/unauth), he gets redirected to http://wpsserver/wps/auth[
/.../authenticated. Also other problems related to the hostname e
xist (hrefs to .css, .js etc also have the wrong host in the address).

I have tried different types of fixes:
- wpconfig.properties: WpsHostName = frontserver.com
- configservices.propertis: host.name = frontserver.com
- httpd.conf: servername = frontserver.com
- WAS console: servers>Web Servers>webserver1> Host name: frontserver.com
- Setting rewrites on the HTTP server:
RewriteEngine On
RewriteCond %{HTTP_HOST}   !^wpsserver.com [NC]
RewriteCond %{HTTP_HOST}   !^$
RewriteRule ^/(.*)         http://frontserver.com/$1 [L,R]

(the last 1 shows the level of my frustration :s )

Thanks in advance for help.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:16 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register