on 09-26-2023 2:26 PM
Hello everyone,
we recently configured SSL for PowerDesigner, so that the url changed from http:// to https:// As some of the users already have created bookmarks for models with http://, I would like to configure a kind of redirection the url from http to https.
The tomcat documentation offers a redirection by coding some XML tags into the web.xml
<!-- Force HTTPS, required for HTTP redirect! -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Protected Context</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<!-- auth-constraint goes here if you require authentication -->
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
Adding this code does not have any effect, maybe because the nodeserver processes the url request before tomcat is touched. As I am an absolute rookie concerning nodeserver:
Does anyone know, if it is possible to implement such a redirection?
User | Count |
---|---|
68 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.