Try
rewrite-dispatch
moved-permanently regexp='^http://host.com'
target='http://www.host.com'/
/rewrite-dispatch
rewrite-dispatch
moved-permanently regexp='^https://www1.host.com'
target='https://www.host.com'/
/rewrite-dispatch
Resin will copy the tail of the URL for you.
-Original
including JSP Segments (Fragments) in
Servlet
Chuck Replogle wrote:
The Resin servlet that handles JSPs is resin-jsp not resin.jsp.
Yes, that's what I was saying. So your servlet-mapping should reflect
that, right?
You can always include a servlet/ in your resin.conf or web.xml and make
] Problems including JSP Segments (Fragments) in
Servlet
Chuck Replogle wrote:
I don't have access to app-default.conf but I added the following to
my instance resin.conf:
servlet-mapping url-pattern=*.jspf servlet-name=resin.jsp/
I believe that should be resin-jsp not resin.jsp.
HTH