atom feed73 messages in org.apache.tomcat.usersRE: RewriteRules and Standalone Tomcat
FromSent OnAttachments
Kevin WilsonJan 7, 2003 8:47 am 
Jason PyeronJan 7, 2003 9:08 am 
Turner, JohnJan 7, 2003 9:14 am 
Jason PyeronJan 7, 2003 9:26 am 
Kevin WilsonJan 7, 2003 9:33 am 
Jason PyeronJan 7, 2003 9:41 am 
Turner, JohnJan 7, 2003 10:00 am 
RasputinJan 7, 2003 10:55 am 
Jason PyeronJan 7, 2003 12:40 pm 
Jason PyeronJan 7, 2003 12:47 pm 
Turner, JohnJan 7, 2003 12:58 pm 
nealJan 8, 2003 1:50 am 
Turner, JohnJan 8, 2003 7:15 am 
nealJan 8, 2003 12:54 pm 
nealJan 8, 2003 12:55 pm 
Turner, JohnJan 8, 2003 1:03 pm 
nealJan 8, 2003 1:34 pm 
Gary GwinJan 8, 2003 2:34 pm 
nealJan 8, 2003 2:46 pm 
Turner, JohnJan 8, 2003 3:24 pm 
nealJan 8, 2003 3:44 pm 
Turner, JohnJan 8, 2003 3:51 pm 
nealJan 8, 2003 3:55 pm 
Turner, JohnJan 8, 2003 5:33 pm 
Craig R. McClanahanJan 8, 2003 6:06 pm 
nealJan 8, 2003 6:28 pm 
Noel J. BergmanJan 8, 2003 6:33 pm 
Turner, JohnJan 8, 2003 7:19 pm 
Turner, JohnJan 8, 2003 7:26 pm 
Craig R. McClanahanJan 8, 2003 7:35 pm 
nealJan 8, 2003 11:06 pm 
nealJan 8, 2003 11:11 pm 
nealJan 8, 2003 11:17 pm 
nealJan 8, 2003 11:21 pm 
Craig R. McClanahanJan 8, 2003 11:23 pm 
nealJan 8, 2003 11:37 pm 
Craig R. McClanahanJan 8, 2003 11:51 pm 
nealJan 9, 2003 12:03 am 
Noel J. BergmanJan 9, 2003 12:08 am 
Turner, JohnJan 9, 2003 2:31 am 
Ralph EinfeldtJan 9, 2003 2:41 am 
nealJan 9, 2003 3:51 am 
nealJan 9, 2003 3:53 am 
Turner, JohnJan 9, 2003 5:22 am 
Turner, JohnJan 9, 2003 5:33 am 
Craig R. McClanahanJan 9, 2003 10:01 am 
nealJan 9, 2003 10:02 am 
Turner, JohnJan 9, 2003 11:16 am 
nealJan 9, 2003 11:25 am 
Noel J. BergmanJan 9, 2003 11:43 am 
nealJan 9, 2003 11:47 am 
Turner, JohnJan 9, 2003 12:09 pm 
Turner, JohnJan 9, 2003 12:11 pm 
Noel J. BergmanJan 9, 2003 12:33 pm 
nealJan 9, 2003 1:41 pm 
Turner, JohnJan 9, 2003 1:45 pm 
Jon EavesJan 9, 2003 2:58 pm 
nealJan 9, 2003 4:04 pm 
Jeffrey WinterJan 9, 2003 4:25 pm 
Craig R. McClanahanJan 9, 2003 5:43 pm 
Jeffrey WinterJan 9, 2003 6:10 pm 
Jeffrey WinterJan 9, 2003 6:11 pm 
Tim FunkJan 9, 2003 6:14 pm 
Craig R. McClanahanJan 9, 2003 7:08 pm 
Craig R. McClanahanJan 9, 2003 7:11 pm 
Tim FunkJan 10, 2003 4:29 am 
Jacob HookomJan 10, 2003 6:36 am 
Cox, CharlieJan 10, 2003 6:47 am 
Tim FunkJan 10, 2003 6:52 am 
AAron nAAsJan 10, 2003 7:03 am 
Jacob HookomJan 10, 2003 7:06 am 
Craig R. McClanahanJan 10, 2003 3:53 pm 
nealJan 19, 2003 10:10 pm 
Subject:RE: RewriteRules and Standalone Tomcat
From:neal (neal@yahoo.com)
Date:Jan 8, 2003 11:06:53 pm
List:org.apache.tomcat.users

Noel,

Yes that was you that gave me this solution. But know ... it was actually in the context of finding a way around this very problem which I brought up a while back. I guess the detail that I was using tomcat standalone was not understood. I appreciate the solution but yeah ... now that I'm finally getting around to putting it into action, I realized the problem.

-----Original Message----- From: Noel J. Bergman [mailto:no@devtech.com] Sent: Wednesday, January 08, 2003 6:34 PM To: Tomcat Users List Subject: RE: RewriteRules and Standalone Tomcat

Neal,

I told you that solution in the context of your avoiding a redirect (302), not in the context of standalone Tomcat. mod_rewrite is an Apache module.

http://www.mail-archive.com/tomcat-dev%40jakarta.apache.org/msg38750.html is the start of a thread on patching Tomcat to do a forward instead of a redirect. Matt Parker's latest patch (not the one in the message) was approved, so long as he keeps the default to the current behavior for now. For Tomcat 5, Remy Maucherat plans to include this functionality in the mapper.

--- Noel

P.S. If someone needs something from me, direct e-mail might be useful if I don't reply to the list promptly. I'm swamped, and sometimes don't have time to get to the tomcat-user folder. This was my first (and probably only) pass today, and I only checked this thread because RewriteRules is one of my fun topics.

-----Original Message----- From: neal [mailto:neal@yahoo.com] Sent: Wednesday, January 08, 2003 4:51 To: Tomcat Users List Subject: RewriteRules and Standalone Tomcat

What exaclty is a RewriteRule and how is it used with Standalone Tomcat? Do I define my RewriteRules somewhere in server.xml or web.xml?

A couple of months ago, Noel told me how I could get Tomcat to show the content of the default welcome page without redirecting (http 302) to the file, using a RewriteRule. I took notes from that email and set it aside only to realize when I returned ... that I have no idea what to do with this info! And of course no info is available (that I could find) online or in the Tomcat manual explaining this. :(

Could someone please explain how this RewriteRule would be integrated into Tomcat:

RewriteRule ^/$ /index.html [L]