For Tomcat server redirects, the Tuckey UrlRewriteFilter really will be your best bet. The tool is being used successfully by a few existing customers already.
The steps to configure this tool are pretty straightforward, and can be found on the Tuckey site:
However, a few notes:
If you installed your DTS Tomcat using the installer included with CM1, all filesystem paths in the UrlRewriteFilter instructions above either begin at the Tomcat root, which is:
Or your site’s publish root, which is:
(If you installed and configured Tomcat manually, the “Server” folder I’m referencing will equate to the Tomcat root installation folder in your instance.)
Additionally, the instructions recommend that you deploy their configuration files and edit the web.xml in your site’s WEB-INF folder. I would actually avoid doing this, as republishing your site can overwrite these files or undo these changes.
My recommendation would be to instead add the “urlrewritefilter-4.0.3.jar” file to the Tomcat’s root “lib” folder at:
And make the Filter additions in their instructions to the particular web.xml located at:
The “urlrewrite.xml” can be added to your site’s root folder without any issues, however:
Note that Tomcat’s main log file, catalina.log (which is located at [dts _root]\Deployment\Server\logs), is essential when it comes to troubleshooting any issues that may arise.
Please let me know if your server team has any issues or questions about setting this up.