Websphere 6 and HTTP forwards.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Application Server > Websphere 6 and HTTP forwards.




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

    Websphere 6 and HTTP forwards.  


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


 
07-26-07 06:22 PM

Hi,

I'm running a websphere 6 application server here which has its own domain. 
However, I wish to use a separate domain to forward to the server with a HTT
P 301 redirect.

Is there a setting on the Websphere application server to display the origin
al (i.e. the domain which is forwarded from) domain in the web address box i
n the browser as opposed to the server URL?

Thanks,

Mike.






[ Post a follow-up to this message ]



    Re: Websphere 6 and HTTP forwards.  
Ben_


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


 
07-26-07 06:22 PM

> I'm running a websphere 6 application server here which has its own
> domain. However, I wish to use a separate domain to forward to the server
> with a HTTP 301 redirect.
>
> Is there a setting on the Websphere application server to display the
> original (i.e. the domain which is forwarded from) domain in the web
> address box in the browser as opposed to the server URL?

I don't understand what you're requesting.

You can arrange a redirect by installing IBM HTTP Server (and its web server
plug-in) as facade to your WebSphere application and add a directive in
httpd.conf.

But you say you want to see the original address in the browser. And in this
case, I'd say you don't want a redirect but a virtual host.

Can you clarify ?






[ Post a follow-up to this message ]



    Re: Websphere 6 and HTTP forwards.  
Doug Breaux


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


 
07-27-07 12:21 AM

michael_palfrey@natbrit.com wrote:
> Hi,
>
> I'm running a websphere 6 application server here which has its own domain
. However, I wish to use a separate domain to forward to the server with a H
TTP 301 redirect.
>
> Is there a setting on the Websphere application server to display the orig
inal (i.e. the domain which is forwarded from) domain in the web address box
 in the browser as opposed to the server URL?
>
> Thanks,
>
> Mike.
>

If you really mean a 301 redirect, then what you're asking isn't possible wi
th
any server.  With a 301, the server tells the browser to send a second reque
st
asking for an entirely different URL.

As Ben said, perhaps you can clarify exactly what you want to happen.
--
Doug





[ Post a follow-up to this message ]



    Re: Websphere 6 and HTTP forwards.  


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


 
07-27-07 12:20 PM

Hi,

Apologies for the ambiguity in my question.

Essentially what I want to happen is that someone accesses domainA, this the
n will forward to domainB yet in the address field in their browser will sho
w domainA at all times- this could be obtained through using a frame but I w
as hoping that another solu
tion could be found.

Thanks for the responses so far.

Mike.





[ Post a follow-up to this message ]



    Re: Websphere 6 and HTTP forwards.  
Ben_


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


 
07-27-07 06:24 PM

Beside the frame trick, there is no means to make the browser tell the URL
of a different web site than the one you're viewing. Notice that the frame
trick is not perfect either, as it causes problems with bookmarks and
refresh of pages for example.

What you could do is have a proxy forward the traffic to domainB / serverB
and have this topology: browser --(connect)--> server A --(proxy)--> server
B. But that's a different topology, involving more than just a WebSphere
configuration.






[ Post a follow-up to this message ]



    Re: Websphere 6 and HTTP forwards.  
Doug Breaux


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


 
07-27-07 06:24 PM

michael_palfrey@natbrit.com wrote:
> Hi,
>
> Apologies for the ambiguity in my question.
>
> Essentially what I want to happen is that someone accesses domainA, this then will
 forward to domainB yet in the address field in their browser will show domainA at a
ll times- this could be obtained through using a frame but I was hoping that another
 so
lution could be found.
>
> Thanks for the responses so far.
>
> Mike.

Yes, that's more like a proxy, although you'll have to configure the proxy a
certain way to completely hide the server's real domain.  i.e. to make all
self-referential links and form submissions (including any you have in
JavaScript) be translated to the hostname you want the user to see.  That or
make sure your code explicitly uses the original hostname for all
self-referential links and form submissions.

Is there any reason why the server can't be configured to respond natively o
n
the desired hostname?

--
Doug





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:22 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