Forum OpenACS Q&A: Re: 'only urls without a host name are permitted'

Collapse
Posted by Richard Hamilton on
No, its no use - I'm now confused!

If I type in www.server.com and go to /register, the system redirects to https on the servure port with no problem.

If however I select a link to a protected location (i.e. /admin), then I get the aforementioned error.

The error appears:

i) when no return url has been passed
ii) when a fully qualified return url has been passed.

In the config.tcl file ns_param hostname is set to the same as the non-sevure hostname - www.server.com and ns_param address is set to the IP address.

What determines the return url to be applied when an internal redirect is issued to force a log-in?

R.