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 wrote: > Wouldn't adding "(stage\.)?" to each host-alias

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: ^tycho.(stage\.)?latencyzero.com[\.]?$ ^(www\.)?(stage\.)?latencyzero.com[\.]?$ On Fri, Jan 17, 2014 at 3:18 PM, Rick Mann

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

2014-01-17 Thread Rick Mann
On Jan 17, 2014, at 06:05 , Paul Cowan wrote: > > On Jan 16, 2014, at 4:32 PM, Rick Mann 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 conf

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

2014-01-17 Thread Paul Cowan
On Jan 16, 2014, at 4:32 PM, Rick Mann 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 > hostnames. The new m

[Resin-interest] "Rewriting" hostnames across webapps?

2014-01-16 Thread Rick Mann
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 hostnames. The new machine temporarily has the name "stage.latencyzero.com."