Re: [Resin-interest] Rewriting hostnames across webapps?

2014-01-17 Thread Paul Cowan
On Jan 16, 2014, at 4:32 PM, Rick Mann rm...@latencyzero.com wrote: I'm trying to update a virtual server that runs a handful of webapps in Resin. The old machine was tycho.latencyzero.com and a bunch of DNS entries point to it. The web apps are configured to respond to those varying

Re: [Resin-interest] PHP iconv?

2014-01-17 Thread Nam Nguyen
Hi Rick, It's a CURL SSL client certificate problem. But because Quercus is using JSSE for the SSL, we cannot support CURL's way for specifying SSL certificates. We do want to replace JSSE with Apache HttpClient. But since Quercus is 100% Caucho code, the question then becomes: how do we

Re: [Resin-interest] Rewriting hostnames across webapps?

2014-01-17 Thread Rick Mann
On Jan 17, 2014, at 06:05 , Paul Cowan co...@caucho.com wrote: On Jan 16, 2014, at 4:32 PM, Rick Mann rm...@latencyzero.com wrote: I'm trying to update a virtual server that runs a handful of webapps in Resin. The old machine was tycho.latencyzero.com and a bunch of DNS entries point

Re: [Resin-interest] Rewriting hostnames across webapps?

2014-01-17 Thread Chris Pratt
Wouldn't adding (stage\.)? to each host-alias-regexp and changing the host-name to regexp allow it to work as you want it? For example: host regexp=(stage\.)?latencyzero.com root-directory=/lz/var/www/ com/latencyzero host-alias-regexp^tycho.(stage\.)?latencyzero.com[\.]?$/host-

Re: [Resin-interest] Rewriting hostnames across webapps?

2014-01-17 Thread Rick Mann
Yep, I think it would. The problem is, what if I want a more complex transformation next time? Or just a different string other than stage inserted? It's okay, this works well enough for me now. On Jan 17, 2014, at 15:24 , Chris Pratt thechrispr...@gmail.com wrote: Wouldn't adding (stage\.)?