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/)