On Aug 24, 2011, at 11:32 AM, Christopher Schultz wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Chris, > > On 8/24/2011 12:09 PM, Mattmann, Chris A (388J) wrote: >> [O]n the other end of the spectrum, if you scare away people who >> are simply trying to do what I'm trying to do with all of the >> flexibility (and complexity) from a full-featured URL rewriter, >> it's also probably not a great thing. > > Don't be afraid of the extra features, they won't hurt you :) > > Seriously, I haven't used url-rewrite myself but it appears to have a > relatively small footprint (small code size) and your mappings only > need to be as complex as your needs.
Okey dok, thanks. > >> Anyhoo, I'll wait to see what others think and if I get the time to >> make such a filter. > > You are free to include such a Filter on the Tomcat Wiki. That's > probably the best place for contributed code that is unlikely to make > it into Tomcat itself. Based on the conversation so far, it appears that it is fine for downstream projects to have that functionality. What spawned this whole discussion was looking at e.g., Solr, and looking at e.g., CXF and seeing this type of capability, but in the downstream project, written in different ways. I thought it might be a good candidate to bubble upstream to the app server, but it doesn't seem to have a lot of support so I'll drop it. > >> Are there plans to include the URL filter at >> http://www.tuckey.org/urlrewrite/ in Tomcat proper at the ASF? > > Probably not. This same question has been asked in the past and > generally rejected because url-rewrite is such a good tool already > that there's no reason to re-invent the wheel. Also, the servlet spec > does not mandate this type of capability, so it's obviously not > required from that standpoint. Most of the non-servlet-spec-defined > utilities in Tomcat are provided because they are almost a requirement > of having a web server -- things like access logging -- or are very > useful security tools -- like the CsrfPreventionFilter. > > That's not to say that this kind of thing would never be considered... > it's just that there's not much motivation to babybsit another tool > that is already freely-available and quite mature. Sure, but that tool is BSD licensed, not ALv2 licensed and it would be nice to have an ALv2 licensed one is all I was saying. Thanks, Chris ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: chris.a.mattm...@nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org