hi,

i'm trying to redirect all http requests to port 8080 to https requests on
port 8443.

this works perfectly if i specify the full pathname of the request.

for example:

http://localhost:8080/index.html

is redirected to:

https://localhost:8443/index.html

however, if i enter:

http://localhost:8080/

and the welcome-file for the default webapp is set to index.html, tomcat
does not redirect to:

https://localhost:8443/index.html as i would expect, the client just hangs
until the connection times out.

following are the welcome-file and security-constraint entries in my
$CATALINA_HOME/conf/web.xml file:

  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
  </welcome-file-list>

  <security-constraint>
    <web-resource-collection>
      <web-resource-name>Everything</web-resource-name>
      <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <user-data-constraint>
      <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
  </security-constraint>

thanks for your help.

dan.



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to