Have you considered handling this using Nginx or Apache? On Jul 30, 2015 3:48 PM, "Jonathan Vanasco" <[email protected]> wrote:
> We have a need build out a small "developer" site that will live on ` > developers.domain.com` > > The current idea to implement is this: > > 1. Serve off of a route that is "/developers/" > 2. Write all html as if we're on "developers.domain.com" > 3. In production: rewrite `developers.domain.com/PATH` > <http://developers.domain.com/PATH> to `domain.com/developers/PATH` > <http://domain.com/developers/PATH> > 4. In dev: use a tween to regex "developers.domain.com" urls onto ` > domain.com/developers/` <http://domain.com/developers/> > > Can anyone offer other ideas? We'd like to avoid functions for generating > urls as-needed, because there are a lot of URLS at play (documentation > cross references, etc). > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/pylons-discuss. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
