Did you manage to put it in your FAQ, and is there a URL to that FAQ?

I am having problem in that this Apache Web server is also serving a number
of other (non Java) things, and when I try to add this ProxyPass it gets
confused with the /image files, and tries to get them from /var/www/images
which of course does not work.  I tried moving the ProxyPass stuff to the
front of the VirtualHost, but that made no difference.

David

On Sunday 12 August 2007, Jacques Le Roux wrote:
> Thanks a lot Raj,
>
> I think I will try it soon and hopefully put your tip in "my" FAQ on
> Confluence !  It's clearly far easier than mod_jk and moreover if it's
> faster then it should be the new way of doing that...
>
> Jacques
>
> De : "Raj Saini" <[EMAIL PROTECTED]>
>
> > Yes, I have configured our Ofbiz + Apache HTTP 2.2 with mod_ajp_proxy.
> > You will need to enable proxy for httpd and  mod_proxy_ajp within your
> > virtual hosts. I am doing it Debian way. For a standard httpd.conf
> > following should work:
> >
> > 1. Enable mod_proxy and mod_proxy_ajp modules in the Apache.
> >
> > 2. Somewhere in the global part of httpd.conf
> > --------------------------------------------------
> >     #turning ProxyRequests on and allowing proxying from all may allow
> >         #spammers to use your proxy to send email.
> >
> >         ProxyRequests Off
> >
> >         <Proxy *>
> >                 AddDefaultCharset off
> >                 Order deny,allow
> >                 Allow from all
> >                 #Allow from .example.com
> >         </Proxy>
> >
> >         # Enable/disable the handling of HTTP/1.1 "Via:" headers.
> >         # ("Full" adds the server version; "Block" removes all outgoing
> > Via: headers)
> >         # Set to one of: Off | On | Full | Block
> >
> >         ProxyVia On
> >
> > 3. Inside your virtual host config
> > -----------------------------------
> >     ProxyPreserveHost On
> >     proxyPass / ajp://localhost:8009/
> >     RewriteEngine On
> >     RewriteRule ^/(images/.+);jsessionid=\w+$ /$1
> >
> > That is it you need to make it work.
> >
> > Thanks,
> >
> > Raj
> >
> > Jacques Le Roux wrote:
> > > >From this blog I'm not sure it's the good solution yet. Do you have
> > > > valuable experience with it ?
> > >
> > > http://getahead.org/blog/joe/2006/02/01/mod_jk_is_dead_long_live_mod_pr
> > >oxy_ajp.html
> > >
> > > Jacques
> > >
> > > PS : though this links seem good points :
> > > http://confluence.atlassian.com/display/DOC/Running+Confluence+behind+A
> > >pache#comment-16121884
> > > http://lenya.apache.org/docs/2_0_x/tutorials/mod_proxy_ajp.html
> > >
> > > De : "Raj Saini" <[EMAIL PROTECTED]>
> > >
> > >> mod_proxy_ajp is another way of doing it with Apache 2.2.x. It is far
> > >> simpler than mod_jk.
> > >>
> > >> Thanks,
> > >>
> > >> Raj
> > >>
> > >> Gautam Deb wrote:
> > >>> Yes, it is possible. You can use the *mod_jk* Tomcat-Apache plug-in
> > >>> that handles the communication between Tomcat and Apache. You can
> > >>> refer the link
> > >>> http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html
> > >>>
> > >>> This way you can route request to the web container.
> > >>>
> > >>> Regards,
> > >>> Gautam Deb
> > >>>
> > >>> On 8/12/07, Mathius Allo <[EMAIL PROTECTED]> wrote:
> > >>>> Hi All,
> > >>>>
> > >>>>   Is it possible to have a deployment configuration where Apache web
> > >>>> server being used to route request to the web container?
> > >>>>
> > >>>>   How to deploy an OfBiz application within an Application Server?
> > >>>>
> > >>>>   Thanks in advanced.
> > >>>>   Mathius
> > >>>>
> > >>>>
> > >>>> ---------------------------------
> > >>>> Pinpoint customers who are looking for what you sell.


Reply via email to