Forum Discussion
hooleylist
Jun 15, 2011Cirrostratus
It looks like your client is making requests with no host header. If that's the case, then you couldn't redirect them using https://[HTTP::host][HTTP::uri] or you'd get an invalid redirect to https:/// like is shown in your logs. Are you sure the last example I posted doesn't work? It tested fine in per the logs I posted.
Also, HTTP::respond 302 Location and HTTP::redirect result in the same 302 response being sent to the client. So it doesn't make much difference which method you use.
Aaron