A robust starter web application to ease Java webapp development.

Home | Tutorials | Demos | Issues

 « Return to Thread: AppFuse and mod_proxy_ajp

Re: AppFuse and mod_proxy_ajp

by mraible :: Rate this Message:

Reply to Author | View in Thread

It's probably easier to change your project to use a different extension. You can always go extensionless with the UrlRewriteFilter.

http://raibledesigns.com/rd/entry/extensionless_urls_in_java_web

Matt

On Wed, Jul 1, 2009 at 6:06 PM, Robert Dare <robert.dare@...> wrote:
Hi All,

I am trying to serve an AppFuse project running in Tomcat 6 from behind an Apache httpd webserver using mod_proxy_ajp.

In my conf.d/proxy_ajp.conf file I have the following:

ProxyPass /mycontext ajp://localhost:8009/mycontext
ProxyPassReverse /mycontext ajp://localhost:8009/mycontext

Since the AppFuse dispatcher servlet uses *.html to map the resources, it seems that Apache mod_proxy_ajp thinks these are static files and serves them up as source.

Can anyone point me to some documentation on how to get mod_proxy_ajp to ignore .html files for this context? 

Regards,

Rob

 « Return to Thread: AppFuse and mod_proxy_ajp