I've found the whole scheme/port parameters just too much of a pain in the
neck to work with. In an ideal world, you'd be able to tag a page class as
@Secure and it would automatically do the correct thing with regards to
scheme.
What I've resorted to is using mod_rewrite rules that handle the scheme
rewriting. It's not ideal and has exploded fantastically in my face before,
but generally works once you get things going.
--
Kevin
On 11/6/07 11:55 AM, in article
[EMAIL PROTECTED], "Norman Franke"
<[EMAIL PROTECTED]> wrote:
> I didn't hear anything on this. At first, I tried creating a
> DirectLink component and set its scheme and port and then return an
> ILink from that from my form listeners. However, despite setting
> scheme to http, it ignores the scheme and stays https.
>
> So, I then decided to just throw a RedirectException with the
> rendered URL like this:
>
> link.getAbsoluteURL("http", null, 80, null, true);
>
> That seems to work. Good idea, bad idea? Why didn't returning the
> ILink with a scheme of http work?
>
> Norman Franke
> ASD, Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]