Ching Chen:
In server.xml of my Tomcat server (behind Proxy):
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true"
proxyName="www.nitesco.com" proxyPort="80"
acceptCount="10" debug="0" connectionTimeout="60000"/>
in the apache server (in DMZ):
<VirtualHost www.nitesco.com:80>
DocumentRoot "/home/httpd/html"
ProxyPass /jetspeed http://jetspeed-host:8080/jetspeed
ProxyPassReverse /jetspeed http://jetspeed-host:8080/jetspeed
</VirtualHost>
and voila!
http://www.nitesco.com/jetspeed
Tom
Ching Chen wrote:
>
> David,
>
> Have you come across a situation where someone was trying to use a
> reverse-proxy to filter requests going to Jetspeed? This is our current
> scenario, and we have been able to successfully reverse proxy requests from
> the outside world to the login screen and we are able to login, but the
> resulting page has tabs / links that all point to the server on which
> Jetspeed resides which is behind the firewall and cannot be accessed
> directly from the internet. These tabs / links need to point to the reverse
> proxy in order for the URL to resolve correctly. Any ideas on how we can set
> the base url of the tabs / links to point to our reverse proxy instead of
> the jetspeed server itself?
>
> Ching
>
> -----Original Message-----
> From: David Sean Taylor [mailto:david@;bluesunrise.com]
> Sent: Monday, November 11, 2002 5:44 PM
> To: Jetspeed Users List
> Subject: RE: Jetspeed Proxy set up question
>
> > -----Original Message-----
> > From: Jeff Sexton [mailto:jsexton@;odshealthplans.com]
> > Sent: Monday, November 11, 2002 1:51 PM
> > To: Jetspeed Users List
> > Subject: RE: Jetspeed Proxy set up question
> >
> >
> >
> >
> >
> > On Mon, 11 Nov 2002, Ching Chen wrote:
> > > Actually we're using a reverse proxy...we are trying to set the
> > URLs that
> > > are dynamically created by JetSpeed to point to the proxy
> > server instead of
> > > the machine on which jetspeed is actually installed. Is this
> > something that
> > > we need to set in Tomcat? In the velocity templates for the
> > base elements of
> > > each page (ie top.vm) there is a $jslink parameter that seems
> > to form the
> > > base of each url, but I don't know where to change that. Any ideas?
> >
> > Setting the CATALINA_OPTS environment variable will cause everything to be
> > forwarded to a proxy server. Set it before starting the servlet engine,
> > and Jetspeed will use your proxy server. That's all I know about it,
> > unfortunatly.
> >
> > And unfortunatly for me, the use of a proxy server via CATALINA_OPTS seems
> > to be an all or nothing option.
>
> See: http://java.sun.com/j2se/1.4/docs/guide/net/properties.html
>
> http.nonProxyHosts
>
> http.nonProxyHosts indicates the hosts which should be connected too
> directly and not through the proxy server. The value can be a list of hosts,
> each seperated by a |, and in addition a wildcard character (*) can be used
> for matching. For example: -Dhttp.nonProxyHosts="*.foo.com|localhost".
>
> --
> To unsubscribe, e-mail:
> <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:jetspeed-user-help@;jakarta.apache.org>
>
> --
> To unsubscribe, e-mail: <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>
--
Tom Marsh
mailto:marsht1@;nitesco.com
http://www.nitesco.com
--
To unsubscribe, e-mail: <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>