Redirect after login gives 404 error

Something has changed on my hotspot that I can’t seem to get a handle on. All http access is captured as it is supposed to be and the client gets our login page, once they have signed in, they are supposed to be redirected to the site that caused the capture but instead they get a “404 Page not found” error. The URL in the browser is hotspot.ourdomain/login? (I don’t have the exact parameters as I am not on site). This all used to work flawlessly so I have inadvertently changed something and broken it. I tried deleting the hotspot and recreating but that didn’t help. I am running 6.40.3 prior to that 6.37 but it was broken then and I updated in the hope it might fix things.

I found some references to a missing “alogin.html” page causing this error but we have never used that file, I only use a modified rlogin.html page which as I have said worked and hasn’t been updated to the best of my knowledge. I am hoping some one who better understands how the hotspot internals can help.