Displaying 1 result from an estimated 1 matches for "cuscomer".
Did you mean:
curstomer
2006 Mar 22
0
multiple virtual hosts within sigle rails installation
...uck with a stupid url mapping problem :(
I need severeal 3rd level domains to map to different controller
namespaces.
adminstuff.mydomain.com/controller has to map to
Adminstuff::Controller in app/adminstuff/controller
customer.mydomain.com/controller has to map to Customer::Controller
in app/cuscomer/controller etc.
It is a single application - it shares all config files, all models,
all libraries. Only the controllers and domain names are different.
The rails url map feature doesn''t seem to support this kind of mapping.
I also tried to use url rewriting (with lighttpd) - looks lik...