to put in the rewrite so let cf handle it.
-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Andrew Scott
Sent: Monday, 14 July 2008 9:58 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: [OT] .htaccess
I don't think Steve meant
why dont you just do it with CF?
_
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Ricardo Russon
Sent: Friday, 11 July 2008 1:19 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: [OT] .htaccess
Thanks George,
Im currently using your first suggestion
@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Ricardo Russon
Sent: Friday, 11 July 2008 1:19 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: [OT] .htaccess
Thanks George,
Im currently using your first suggestion, which gives me everything i need
except for redirectinghttps
server or what ever?
Steve
-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of michael sharman
Sent: Friday, 11 July 2008 9:02 PM
To: cfaussie
Subject: [cfaussie] Re: [OT] .htaccess
You really don't want this at the ColdFusion level because it creates
Have a look at this [1] online tool for creating apache .htaccess files.
[1]
http://nagpals.com/blog/index.cfm/2008/4/7/Online-tool-for-creating-Apache-htaccess-files
Chris
--
Chris Velevitch
Manager - Adobe Platform Users Group, Sydney
m: 0415 469 095
www.apugs.org.au
Adobe Platform Users
PROTECTED] On Behalf
Of michael sharman
Sent: Friday, 11 July 2008 9:02 PM
To: cfaussie
Subject: [cfaussie] Re: [OT] .htaccess
You really don't want this at the ColdFusion level because it creates extra
load on the application server.
Apache can inherently handle a LOT more load than ColdFusion
Ricardo wrote:
Can anyone help me with a .htaccess script.
I need to redirect all traffic that is not https://www.domain.com to
there.
So...
http://domain.com
http://www.domain.com
https://domain.com
all need to go to:
https://www.domain.com
I can get everything to redirect
Try the below
it is checking if https is on and if not it rewrites to the domain u specify.
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
If it is using a specified port use the following
RewriteEngine On
RewriteCond %{SERVER_PORT} !443
Thanks George,
Im currently using your first suggestion, which gives me everything i need
except for redirecting
https://domain.com - https://www.domain.com (as https is already active)
Anything I try to do to combine the two seems to create a loop.
Not that its ultra important, as Kym says I
:[EMAIL PROTECTED] On Behalf Of Ricardo
Russon
Sent: Friday, 11 July 2008 1:19 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: [OT] .htaccess
Thanks George,
Im currently using your first suggestion, which gives me everything i need
except for redirecting
https://domain.com - https
10 matches
Mail list logo