Technote

(FAQ)
Configure SSL-protected views to be accessible through HTTP
How do you configure SSL-protected views to be accessible through HTTP in WebSphere Commerce 6.0?


Answer

To change a view originally accessible by HTTPS to be accessible through HTTP, follow the steps using LogonForm as an example, as indicated in the screen shot below:



1. You need to search for LogonForm in struts-config.xml (or the corresponding struts config file), and modify the configuration so that https property becomes 0:0.
For example:

<action path="/LogonForm" type="com.ibm.commerce.struts.BaseAction">
<set-property property="https" value="0:1"/>
</action>

should become:

<action path="/LogonForm" type="com.ibm.commerce.struts.BaseAction">
<set-property property="https" value="0:0"/>
</action>

2. You need to update the struts-config-ext.xml (or the corresponding struts config file) so that you remove your store ID or the whole configuration setting where the https property is defined for your view. For example:

<action path="/LogonForm" type="com.ibm.commerce.struts.BaseAction">
<set-property property="https" value="10001:1,10053:1,10054:1"/>
<set-property property="credentialsAccepted" value="0:P,0:P"/>
</action>

should become:

<action path="/LogonForm" type="com.ibm.commerce.struts.BaseAction">
<set-property property="credentialsAccepted" value="0:P,0:P"/>
</action>

3. Restart your WebSphere Commerce server. Your LogonForm should be accessible through HTTP as shown below:

 

Document Information

Current web document: http://www.ibm.com/support/docview.wss?uid=swg21298768