Skip to main content

Glassfish Rewrite Rules

2 replies [Last post]
Anonymous

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?

Thanks

Kenneth Clark
System Architect / Lead Developer

Rabid Dog Laboratories T
Putting the art back into development

tel: +27 11 475 7409
mobile: +27 82 500 5090
e-mail: kenneth@rabiddog.co.za
website: http://www.rabiddog.co.za/

[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
whartung
Offline
Joined: 2003-06-13

You could try http://tuckey.org/urlrewrite/

It's a generic Rewrite filter. You would configure it within your application, and not at the server level, but it offers much the same as mod_rewrite.

Jeanfrancois Arcand

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....
[2]
http://anonsvn.labs.jboss.com/labs/jbossweb/trunk/src/share/classes/org/...
[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@rabiddog.co.za
> *website:* http://www.rabiddog.co.za/
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net