Reply To: 301 Redirect using OCPsoft Rewrite

Splash Forums Rewrite Users 301 Redirect using OCPsoft Rewrite Reply To: 301 Redirect using OCPsoft Rewrite

#26839

eframsergio
Participant

Hi Christian!

Since I’m already using Rewrite to pretty up some of my URLs, I thought it would be easier just to add a new rule to achieve this as opposed to installing and configuring Apache to sit in front of Tomcat…

What is the complicated aspect of doing it with rewrite or drawbacks you see? I would much rather do it with rewrite if I can.

By the way, I seem to be trying to solve the same issue described here: http://nematodes.org/martin/2010/02/04/301-permanent-redirect-with-tomcat-howto/

Martin, the author of the article provides a solution already with the proposed library and xml configuration file. It’s great, but it seems to me that Rewrite already provides this mechanism. What do you think?

Thanks in advance!
sb

  • This reply was modified 6 years, 12 months ago by  eframsergio.