Secure="true" Redirecting Improperly

24 views
Skip to first unread message

brandon....@gmail.com

unread,
May 2, 2012, 3:11:28 PM5/2/12
to Mach-II for CFML
I am using secure="true" in one of my event handlers and I get "This
Page Isn't Redirecting Properly" when I hit that event. I have the
following in my properties:

<property name="urlBase" value="/index.cfm" />
<property name="urlSecureBase" value="/index.cfm" />

Any suggestions?

Brandon Culpepper

Jason York

unread,
May 3, 2012, 9:01:13 AM5/3/12
to mach-ii-for...@googlegroups.com
I would use something like FireBug to look at the response header and see what it's attempting to redirect to.  This might indicate where the problem is.

brandon....@gmail.com

unread,
May 3, 2012, 10:30:26 AM5/3/12
to Mach-II for CFML
Thanks for the suggestion Jason. I forgot to mention that I had tried
that and it is redirecting to the same http url instead of the https
url. screenshot http://d.pr/i/qve6

brandon....@gmail.com

unread,
May 17, 2012, 6:55:18 PM5/17/12
to Mach-II for CFML
Anyone have any more information on this? I have a site launching on
Monday and this would be a HUGE help. Thank you.

On May 3, 9:30 am, "brandon.culpep...@gmail.com"
<brandon.culpep...@gmail.com> wrote:
> Thanks for the suggestion Jason. I forgot to mention that I had tried
> that and it is redirecting to the same http url instead of the https
> url. screenshothttp://d.pr/i/qve6

Peter Farrell

unread,
May 17, 2012, 8:17:07 PM5/17/12
to mach-ii-for...@googlegroups.com

What url* properties do you have set? Usually this is a miss configuration issue.

--
To post to this group, send email to mach-ii-for...@googlegroups.com
For more options and to unsubscribe, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

brandon....@gmail.com

unread,
May 18, 2012, 10:27:05 AM5/18/12
to Mach-II for CFML
Thanks for getting back to me Peter.

Here are my url properties:

<property name="urlParseSES" value="true" />
<property name="urlDelimiters" value="/|/|/" />
<property name="urlBase" value="/index.cfm" />
<property name="urlSecureBase" value="/index.cfm" />

I have even tried

<property name="urlParseSES" value="true" />
<property name="urlDelimiters" value="/|/|/" />
<property name="urlBase" value="http://mysite.com/index.cfm" />
<property name="urlSecureBase" value="https://mysite.com/
index.cfm" />

Let me know if that helps.

On May 17, 7:17 pm, Peter Farrell <pe...@mach-ii.com> wrote:
> What url* properties do you have set? Usually this is a miss configuration
> issue.
> On May 17, 2012 5:55 PM, "brandon.culpep...@gmail.com" <
Message has been deleted

brandon....@gmail.com

unread,
May 21, 2012, 2:33:59 PM5/21/12
to Mach-II for CFML
Does this configuration look correct?

On May 18, 9:27 am, "brandon.culpep...@gmail.com"

Peter J. Farrell

unread,
May 22, 2012, 10:27:56 PM5/22/12
to Mach-II for CFML

>     <property name="urlBase" value="http://mysite.com/index.cfm" />
>     <property name="urlSecureBase" value="https://mysite.com/index.cfm" />

Usually you need a FQDN / URL for the urlSecureBase. Are you sure
that cgi.server_port_secure is returning 1 on HTTPS? My guess it is
not that is why it's doing a circular redirect.

Brandon Culpepper

unread,
May 29, 2012, 12:03:05 PM5/29/12
to mach-ii-for...@googlegroups.com
Thanks Peter. I just did a CGI dump and server_port_secure is returning 1. Any ideas?
Reply all
Reply to author
Forward
0 new messages