=?iso-8859-1?Q?Aur=E9lien_Pernoud?= says:
> set
> TOMCAT_OPTS=-Dhttp.proxyHost=proxyhost -Dhttp.proxyPort=proxyport -Dhttp.non
> ProxyHosts="localhost|*.mycompany.com"
> 
> They look the same but are not (proxyHost => http.proxyHost ...).
> 
> (for nonProxyHosts you need to put them between " and use | to separate...
> see above)
> 
> Think you only have to rename this to CATALINA_OPTS for tomcat 4 ...
> 
> I had to remove the first options that were ProxySet=True proxyHost=...

I am using Tomcat 4.0.1 on linux.  I have tried:

typeset -x CATALINA_OPTS="-DProxySet=True -DproxyHost=myproxy -DproxyPort=80 
-DnonProxyHosts=\"localhost|*.mycompany.com\""

and 

typeset -x CATALINA_OPTS="-DproxyHost=myproxy -DproxyPort=80 
-DnonProxyHosts=\"localhost|*.mycompany.com\""

and

typeset -x CATALINA_OPTS="-Dhttp.proxyHost=myproxy -Dhttp.proxyPort=80 
-Dhttp.nonProxyHosts=\"localhost|*.mycompany.com\""

and

typeset -x CATALINA_OPTS="-Dhttp.proxyHost=myproxy -Dhttp.proxyPort=80 
-Dhttp.nonProxyHosts=localhost|*.mycompany.com"

and

typeset -x CATALINA_OPTS="-Dhttp.proxyHost=myproxy -Dhttp.proxyPort=80 
-Dhttp.nonProxyHosts=insidehost.mycompany.com"

The last case I tried in case it was the '*' that didn't work.  But in
all cases it continues to go to the proxy (and fail) for
myhost.mycompany.com (host inside the firewall).

It looks like ProxySet=True is not needed.  It still goes to the proxy
without it.  Again, if I use no CATALINA_OPTS then my inside hosts are
fine, but of course external sites are unreachable.

I would *really* like to get this to work.  This is pretty much a show
stopper if I can't.  Any suggestions?  Should I build a simple
internal proxy that can route requests and point jetspeed at that?
Could someone point me to the source module in question?  Any
other suggestions?

--
Jeff Sexton
ODS Health Plans
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to