> OK so I have an application which I only want people to
> connect to using SSL, so I want to have it so that if anyone
> comes to a particular directory from
> http://www.mydomain.com/myapplication/
>
> To be redirected to:
>
> https://secure.mydomain/myapplication/
>
> I know how to do this with Apache, but am hoping I can do it
> with CF in the Application.cfm file.

I might be missing something, but it sounds like this is all you need:

<cfif CGI.HTTP_REFERER is "http://www.mydomain.com/myapplication/">
<cflocation url=""> </cfif>

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to