In case anyone is trying to doa similar thing, here is the code I
ended up with to redirect a specific https request to http:
In the Active4D.a4l library On Request handler:
method "On Request"($inURL; $inQuery)
if (get request info("*secure") = "1")
if (get request info("*host") = "testdb6.domain.org")
$url := "http://" + get request info("*host")
//set response status (302)
set response header ("Location"; $url)
else
return
end if
else
return
end if
end method
Thanks,
Michael Check
On Wed, Mar 19, 2008 at 2:34 PM, Michael Check <[EMAIL PROTECTED]> wrote:
> On Tue, Mar 18, 2008 at 9:10 AM, Aparajita Fishman
> <[EMAIL PROTECTED]> wrote:
>
> > Test in other browsers (especially IE), if it works then run with it.
> > You could also try 302 instead of 303, see if that works.
>
> I set up a test server for the response forced redirect. Firefox
> using LiveHTTPHeaders reports forcing the "Location" in the response
> header as Redirect, so we'll go with that.
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/