Michal Charemza wrote: > Hi, > > I'm hoping to route using subdomains as a source, using (I presume) > the parameter source="_ENV[HTTP_HOST]" in the route. I expect this to > work fine, except I'm not sure how to test this before going live. > Routing on paths is independent of the server, but this is no longer > the case with routing based on subdomains. I wonder if anyone has any > advice? Your development environment will eventually require DNS. It requires DNS now :) Use a lightweight DNS server/proxy such as dnsmasq (or if you work on a single machine, editing the hosts file will do). Setup your staging environment to reflect the DNS structure on the production servers. This fits really nicely with Agavi configuration features
_______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
