Forum OpenACS Q&A: Redirect after login

Posted by Richard Hamilton on

Does anyone know why this is happening after login? Always been able to fix this in previous versions but version 5 is not playing ball.

Login to

Redirects to /home/index -- no problem

Click on 'Log In' link

Redirects to  -- no problem

Enter email and password and submit.

and redirect fails giving :

Not Found

The requested URL was not found on this server.

AOLserver/3.3.1+ad13 on

URL line shows:

Any tips greatly appreciated!

Thanks Richard
2: Re: Redirect after login (response to 1)
Posted by James Thornton on
What's the actual domain? In the aolserver footer it says "" in the examples it says "".
3: Re: Redirect after login (response to 1)
Posted by Richard Hamilton on
That's a very astute spot - for the purposes of the forum post I had substituted for the actual domain which is a .biz and missed the footer line. The domain does match up in actual fact.


4: Re: Redirect after login (response to 1)
Posted by Richard Hamilton on
I have discovered a bit more about this now - perhaps this will give you a bit more to go on:

1) I visit http ://

2) I type http :// to see a page that should be restricted to registered users but should be visible over insecure http

3) The server correctly redirects me to https :// with the return url set to http ://

4) I enter the password and the browser warns me that I am about to be redirected back to an insecure http page, but then serves me the 'url not found' error via https

5) If I subsequently type http :// into the browser, the page displays just fine.

[I have added the spaces so that these don't display as links - since they aren't real]