Hi,
when user types http://www.mydomain.com, how to redirect to secure url
https://www.mydomain.com? I know that a servlet filter can do that. Is there
an easier way?
In server.xml, redirectPort="8443" for port 80, it did not work as I
expected.
<Connector port="80" address="${jboss.bind.address}"
maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
emptySessionPath="true"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true"/>
<Connector port="8443" address="${jboss.bind.address}"
maxThreads="100" strategy="ms" maxHttpHeaderSize="8192"
emptySessionPath="true"
scheme="https" secure="true" clientAuth="false"
keystoreFile="${jboss.server.home.dir}/keystore"
keystorePass="123456" sslProtocol = "TLS" />
Thanks for help.
Dave
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.