Force All Requests to a single servlet

2008-03-28 Thread Jim Willeke
I have moved a sever from port 9080 to using another tomcat instance (on port 80) and have renamed the sites. I want to intercept all the requests to the 9080 port and analyze the incoming URL and redirect to the new location(s). I can write the servlet, but have not figured out how to force

Re: Force All Requests to a single servlet

2008-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim, Jim Willeke wrote: | I have moved a sever from port 9080 to using another tomcat instance | (on port 80) and have renamed the sites. | | I want to intercept all the requests to the 9080 port and analyze the | incoming URL and redirect to the

RE: Force All Requests to a single servlet

2008-03-28 Thread Caldarale, Charles R
From: Jim Willeke [mailto:[EMAIL PROTECTED] Subject: Force All Requests to a single servlet I want to intercept all the requests to the 9080 port and analyze the incoming URL and redirect to the new location(s). You didn't bother to tell us what version of Tomcat you're using, so the links

Re: Force All Requests to a single servlet

2008-03-28 Thread Jim Willeke
Tomcat 5.5 Ok, I deployed to: /tomcat9080/webapps/ROOT/WEB-INF web.xml welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list servlet servlet-nameRedirect/servlet-name servlet-classcom.willeke.web.Redirect/servlet-class /servlet servlet-mapping

Re: Force All Requests to a single servlet

2008-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim, Jim Willeke wrote: | Almost works. | | The only issue I have is when a URL like: | http://willeke.com:9080/wikildap/Wiki.jsp?page=UsefullCommandsForEdirectory | | The redirect is to: | http://ldapwiki.willeke.com/Wiki.jsp Sounds like you are