Results 1 to 6 of 6

Thread: Webflow 2.0 and reverse proxy

Hybrid View

  1. #1

    Default Webflow 2.0 and reverse proxy

    We have the following infrastructure:
    - a webserver doing https encryption and working as a reverse proxy (Url https://oursite.com)
    - a http webserver for our websphere plugin for high availability

    All the generated WebFlow Urls are using the http://oursite.com prefix, because of the request ist coming from the http webserver to the appserver!

    Is is possible to configure Webflow or Spring MVC to produce https urls?
    Is there a way to configure the reverse proxy correctly?
    Is this scenario working at all?

    Please help

  2. #2
    Join Date
    Mar 2008
    Location
    Wellington, New Zealand
    Posts
    30

    Default

    So you've got reverse proxy->IHS->WAS?

    If so, are you able to configure the reverse proxy to talk with IHS via HTTPS then you won't have any issues (as it will then be HTTPS). The only other way I can think of would be if the reverse proxy had some kind of rewriting capability (i.e. it could rewrite links etc. from http->https in the returned HTML).

  3. #3
    Join Date
    Aug 2004
    Location
    Sydney
    Posts
    503

    Default

    I've got an Apache box doing SSL, and using mod_jk2 to hook up to a JBoss server.

    The JBoss server knows nothing about SSL.

    Can you use mod_jk2 or similar? (depending on Apache 2 or 2.2)

  4. #4

    Default

    Quote Originally Posted by gmatthews View Post
    I've got an Apache box doing SSL, and using mod_jk2 to hook up to a JBoss server.

    The JBoss server knows nothing about SSL.

    Can you use mod_jk2 or similar? (depending on Apache 2 or 2.2)
    No, we have to use the IBM Websphere Plugin.
    Do you use some kind of rewriting for the returned URL?

  5. #5
    Join Date
    Aug 2004
    Location
    Sydney
    Posts
    503

    Default

    >>No, we have to use the IBM Websphere Plugin.

    Commisserations.

    >>Do you use some kind of rewriting for the returned URL?

    Nope. Using the mod_jk2 approach in Apache 2.0, Apache talks to JBoss (Tomcat) using the ajp (Apache to Java) protocol, so HTTP isn't involved at that stage.

    Not sure if you need something like this http://snipplr.com/view/7912/apache-...configuration/

    See lines 8 and 9.

    Other than that, maybe post on the Apache and/or IBM forums. It's not really a Spring question.

  6. #6
    Join Date
    Apr 2012
    Posts
    1

    Default

    I had the SAME problem

    So i substituted HTTP proxying

    ProxyPass / http://localhost:8080/
    ProxyPassReverse / http://localhost:8080/

    with AJP:
    ProxyPass / ajp://localhost:8009/
    ProxyPassReverse / ajp://localhost:8009/

    And.. the problem has gone!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •