Forum OpenACS Development: Re: rp_handler and host-node mapped subsites

Collapse
Posted by Torben Brosten on
Hi Eduardo,

"The case is: you should point an URL to /subsite/page and it should just work on host node maped subsite. Try to map all the places in the system where this call appears is very difficult, and it can always lead to some fail."

Between Ryan's exampe, and yours, I do believe I'm understanding the issue now. I still think the fix is to have the code provide the correct url.

ad_conn url is an incomplete solution that breaks expected behavior on host-node mapped sites.

Given the complexity of the rp and the depth of the fix that is required, the appropriate fix, to me, seems to be to replace the instances of ad_conn url with a proc that has predicted behavior, ie returns ad_conn url for mainsite, and a modified url for the host-node mapped sites (when serving pages from there). site_node::conn_url *was* supposed to help support creating a proc like this, but it *is* broken at the moment.. I'll see if I can re-create the proc as a replacement for ad_conn url as originally intended.

cheers,

Torben