users@glassfish.java.net

Re: Glassfish Rewrite Rules

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 13 Jun 2007 11:53:55 -0400

Kenneth Clark wrote:
> Is it possible to emulate the mod_rewrite functionality that Apache
> provides?
>
>
>
> I need to implement rewrite rules on a per web application basis. Does
> glassfish provide this type of functionality?

Hi Ken,

I suspect the answer is yes (via mod_jk [1]) but I've never tested it.
JBoss also have a java Valve [2] that can be ported in GlassFish which
does something similar [3].

Thanks

-- Jeanfrancois

[1]
http://weblogs.java.net/blog/jfarcand/archive/2006/03/running_glassfi_1.html
[2]
http://anonsvn.labs.jboss.com/labs/jbossweb/trunk/src/share/classes/org/jboss/web/rewrite/
[3]
http://weblogs.java.net/blog/jfarcand/archive/2006/09/extending_glass.html

>
>
>
> Thanks
>
>
>
> *Kenneth Clark*
> *System Architect / Lead Developer*
>
> *Rabid Dog Laboratories ™*
> Putting the art back into development
>
> *tel:* +27 11 475 7409
> *mobile:* +27 82 500 5090
> *e-mail:* kenneth_at_rabiddog.co.za <mailto:kenneth_at_rabiddog.co.za>
> *website:* http://www.rabiddog.co.za/
>
>
>