Forum OpenACS Development: Re: Extending acs-subsite

Collapse
5: Re: Extending acs-subsite (response to 1)
Posted by Dave Bauer on
Randy,

That is not quite it. That does an ad_returnredirect and causes the vistior's browser to request a different URL.

The idea I have is to internally redirect requests. This way, a package can appear to be mounted at the same place as an instance of acs-subsite.

Effectively it is the same as symlinking in the index.vuh from edit-this-page in the pageroot.

Collapse
6: Re: Extending acs-subsite (response to 5)
Posted by Randy O'Meara on
Ahhh. I see. Is there a good reason (a pro) to performing the browser redirect over an internal redirect? Maybe the existing mechanism could be changed to do an internal redirect?

Alternately, the existing code could be made to discern an internal redirect if the value of this parameter (say) began with "//" (double slash), or some other syntax.