Re: [Resin-interest] Does Resin have a built-in Proxy Server?

2006-11-07 Thread Daniel López
In fact, it is nothing too fancy, it basically does the same that the Caucho Proxy Servlet does but it allows you to specify a list of init parameters that, working in pairs, allow you to specify a recognition regexp pattern and a replacement pattern. Something like that: ProxyFilt

Re: [Resin-interest] Resin's Proxy Serverlet

2006-11-07 Thread dan
thanks! I've implemented this... BUT When a machine connects to the external (NAT) address of my RESIN web server and it proxies to an internal IP address, the internal IP address is the forwarded back to the client. As an example: resin.conf: http-proxy

Re: [Resin-interest] Does Resin have a built-in Proxy Server?

2006-11-07 Thread Scott Ferguson
On Nov 7, 2006, at 4:39 AM, Daniel López wrote: > In fact, it is nothing too fancy, it basically does the same that the > Caucho Proxy Servlet does but it allows you to specify a list of init > parameters that, working in pairs, allow you to specify a recognition > regexp pattern and a replacemen

[Resin-interest] UnsupportedOperationException in Quercus

2006-11-07 Thread Marshall Levin
Hi there, I'm trying to run one of our existing PHP sites under Quercus and I frequently get this error: java.lang.UnsupportedOperationException: com.caucho.quercus.env.BinaryBuilderValue at com.caucho.quercus.env.StringValue.append(StringValue.java:663) The strange thing is that the first ti

Re: [Resin-interest] UnsupportedOperationException in Quercus

2006-11-07 Thread Marshall Levin
Oops, I should add that I'm using resin pro 3.1 10/26 snapshot. Marshall Levin wrote: > Hi there, > > I'm trying to run one of our existing PHP sites under Quercus and I > frequently get this error: > > java.lang.UnsupportedOperationException: > com.caucho.quercus.env.BinaryBuilderValue at > co

Re: [Resin-interest] UnsupportedOperationException in Quercus

2006-11-07 Thread Scott Ferguson
On Nov 7, 2006, at 9:15 AM, Marshall Levin wrote: > Hi there, > > I'm trying to run one of our existing PHP sites under Quercus and I > frequently get this error: > > java.lang.UnsupportedOperationException: > com.caucho.quercus.env.BinaryBuilderValue at > com.caucho.quercus.env.StringValue.appen

Re: [Resin-interest] UnsupportedOperationException in Quercus

2006-11-07 Thread Marshall Levin
Just a quick followup: so far I can't reproduce the problem when I set the compilation value to but I can reproduce it when I set it to lazy or true, leading me to believe that the problem is in the code branch that does the compilation and not the code branch that runs the page in interpreted

Re: [Resin-interest] Resin's Proxy Serverlet

2006-11-07 Thread Daniel Lopez
Hi, Which kind of logic is "forwarding" the back-end server's IP to the client browser? Is your application building the URLs using getLocalAddr() or getServerName()? Otherwise, if you construct your URLs as relative paths, there is no way the browser should know about the back-end server. Salute

Re: [Resin-interest] Does Resin have a built-in Proxy Server?

2006-11-07 Thread Daniel Lopez
Yes, it is quite straight forward as you just basicall construct the regexp patterns in the init method and then it just modifies the forwarded path if it matches one of the patterns, the rest is basically the same as Caucho's HttpProxyServlet so it shouldn't be too difficult to add. And some extr

Re: [Resin-interest] resin load distribution

2006-11-07 Thread Jacky
Dear Scott, Is there anyway that the "client-weight" can be used with Apache? I'm using 3.0.29 professional. I checked the caucho site and i the only thing i can find that is most relevant to my needs is this: http://www.caucho.com/resin-3.0/install/cse-apache.xtp#balance but it does not all