[OFBiz] Users - forcing a specific https host for each web site

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OFBiz] Users - forcing a specific https host for each web site

Helmut Eggebert
Hi,

Resending this because previous went awry.  Thank you for your quick
responses.

>Changing these fields causes the app server to bind to the new address /
>port.

I'm sorry but I don't understand what you mean here.  It seems that this
type of thing is done in, for example,
applications/ecommerce/ofbiz-component.xml, where you could specify
something like this:

    <webapp name="ecommerce2"
        title="ECommerce1"
        server="default-server"
        location="webapp/ecommerce2"
        mount-point="/store"
        app-bar-display="false">
        <virtual-host host-name="www.foo2.com"/>
    </webapp>
    <webapp name="ecommerce2ssl"
        title="ECommerce2ssl"
        server="default-server"
        location="webapp/ecommerce2"
        mount-point="/store"
        app-bar-display="false">
        <virtual-host host-name="foo2.securedomain.com"/>
    </webapp>

However, my problem is that when, in the above example, a user goes to
http://www.foo2.com/store and clicks on the login link the url is not
https://www.foo2.com/store/control/checkLogin/login but
https://foo2.securedomain.com/store/control/checkLogin/login

Assuming that the "Https Host" or "Https Port" on the Content Manager ->
Edit Web Site form are totally irrelevant to accomplishing my goal, how do I
get
these links to substitute the current host for a new host when switching to
https and back to the original host when switching back?

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users