in reply to Re: How to build multirealm Catalyst application
in thread How to build multirealm Catalyst application

Thanks for your reply. One app seems more and more maintainable for me. But there is one thing I can't get

I can imagine that mod_rewrite turns http://provider.mycatapp.xyz/order/123 into http://mycatapp.xyz/provider/order/123

But which piece of code converts the http://mycatapp.xyz/provider/payments (result of $c->uri_for_action('/provider/payments')) back into http://provider.mycatapp.xyz/payments?

  • Comment on Re^2: How to build multirealm Catalyst application

Replies are listed 'Best First'.
Re^3: How to build multirealm Catalyst application
by stonecolddevin (Parson) on Jul 26, 2010 at 19:52 UTC

    I don't have hardly any mod_perl experience, however, I'm fairly certain they way you would do this in nginx is to mess with the say, fastcgi params (if you were in fact deploying to fastcgi). Basically Catalyst just needs to know the base url a given domain consists of. I will look around to see if I can find anything more coherent regarding this.

    mtfnpy