Hi folks,

I have a question regarding a specific server setup and the routing rules:

There are two servers: one is the "official" server which holds the domain
(www.somewilddomain.com) and the official, static website and a second
server which will hold the Pylons application. The second server should be
reachable through different subdomains: shop and support

=> shop.somewilddomain.com 
=> support.somewilddomain.com

I would approach the configuration as follows:
- the first server gets two subdomain entries pointing to the second server
(which has no domain name)
- the second server uses Apache + proxy_pass to route the traffic to the
Pylons app
- the pylons app on the second server would use the subdomain-features from
routes to find the correct controller

Is this the best approach? Any other ideas? Maybe using proxy_pass already
on the first server, fully skipping Apache on the second server?

Any pointers would be helpful.

Regards,
Andrew



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to