users@glassfish.java.net

Re: Glassfish production url

From: <glassfish_at_javadesktop.org>
Date: Wed, 06 Aug 2008 03:27:16 PDT

> We do something like this using apache2 mod_proxy and
> rules like
>
> ProxyPass /<contextroot>
> http://<backend-server>:8082/<contextroot>
> ProxyPassReverse /<contextroot>
> http://<backend-server>:8082/<contextroot>

Thanks Kristian. Thats a nice tip. Let me go through that articles.


> Where do they live on the apache2 installation, and
> how do they have to be
> accessed? Easiest way, in my opinion, would be
> dumping them to a "context
> root" of their own on apache2, to have them out of
> the way, and use your
> glassfish context root for proxying your glassfish
> hosted application.

My php scripts are installed in a different directory directly under apache document root. So it will be its own context root.

Thanks Kristian.
[Message sent by forum member 'albees' (albees)]

http://forums.java.net/jive/thread.jspa?messageID=291847