Forum OpenACS Q&A: Re: Subsite Registration Redirecting to https://mainsite.com/register/

I found it -- in security::get_secure_location, you have to change the following line:

set secure_location [ad_conn location]

...to....

set secure_location $current_location

Now I just have to figure out why going to https://subsite.com/admin/ returns nothing.