Hi Juha, As I suggested during the IRC meeting the multi-domain issue with RR may be solved in two ways:
1) import the domains into the aliases list in core (RR already uses this list) 2) make a special dependency between RR and DOMAINS 1) has the advantage of being more general - the "myself" statement for script will also use the multi-domains, but technically speaking, it is much more complicated (because of the reload) 2) technically simple, but solves only the particular case of RR module; and there will be no common way to check from script/other modules if some domain is local or not. Regards, bogdan Juha Heinanen wrote: > there was also irc discussion on making rr module check if a domain in > route uri is local. i recently implemented in domain module capability > to check from other modules if domain is local: > > domain_api_t domain_api; > bind_domain_t bind_domain; > > bind_domain = (bind_domain_t)find_export("bind_domain", 0, 0); > bind_domain(&domain_api); > > if (domain_api.is_domain_local(&domain)) ... > > perhaps it could be used by rr module (if rr user wants to do such a > check). > > making domain module to import its domains as aliases seems a more > complicated and hack like solution to me. > > -- juha > > _______________________________________________ > Devel mailing list > Devel@lists.openser.org > http://lists.openser.org/cgi-bin/mailman/listinfo/devel > > _______________________________________________ Devel mailing list Devel@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/devel