Hi Mike,
Thanks. I do have mu controller set up like this (different
login class of course). So when you try to login form say
http://yourofbiz.com/controller/non-secure-auth-page, you get redirected
to your main page and it's under https - correct? When I do this I get
sent to my login page but it's under http?? Is there another file I need
to update? Thanks.
-Mike
-----Original Message-----
From: Michael Jensen [mailto:[EMAIL PROTECTED]
Sent: Friday, August 31, 2007 9:40 AM
To: [email protected]
Subject: Re: http redirect to https question.
Make sure that you have https="true" set for the request map. This is
set in WEB-INF/controller.xml
Here is what mine looks like:
<request-map uri="login">
<security https="true" auth="false"/>
<event type="java" path="org.ofbiz.eearner.control.LoginWorker"
invoke="login"/>
<response name="success" type="view" value="main"/>
<response name="error" type="view" value="login"/>
</request-map>
This works for my login links from non-https pages.
Mike
Mike Baschky wrote:
> Hello,
> Say I'm having an issue with http to https redirect in ofbiz v4. I
> have https working fine for the login and a couple of other pages,
> however, I'm having an issue with redirects. As an example someone
> comes into a page that requires authorization but not https they get
> redirect to the login page as they should but the login page is no
> longer under https. I assume there is a setting I'm missing some
> place. Could someone point me in the right direction here. Thanks.
>
> -Mike
>
--
Millcreek Systems, Inc.
P.O. Box 9835
Salt Lake City, Utah 84109
Phone: 801.649.4903
Skype: millcreeksys (http://millcreeksys.com/skype/)