Hi!
I'm trying to configure my tomcat 4.0.1 standalone to redirect an adress
http://localhost:8080/some/thing to an address
https://localhost:8443/some/thing
I've made the proper changes to the server.xml and to the web.xml and
actually the redirection happens. But when I print out information out
from the http request it says that the port that is being used is the
old 8080. I'm using the request's getServerPort() method.
Does anyone have an idea why the port number won't change to the 8443?
Because of the old port number none of my pictures nor form actions
work.
Here are the essential parts from my web.xml and server.xml:
web.xml
---
...
<security-constraint>
<web-resource-collection>
<web-resource-name>something</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
...
---
server.xml
---
I uncommented this Connector from the server.xml:
<!-- Define an SSL HTTP/1.1 Connector on port 8443 -->
Thanks for everyone!
// Janne Laitinen
__
T�m�n ilmaisen suomalaisen s�hk�postin tarjosi http://www.jippii.fi/
K�y tutustumassa netin parhaaseen pelipaikkaan Pasimaailmaan.
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>