A problem has cropped up with my cfadmin when trying to add a
datasource. I put in the new name then choose SQL Server and click
ADD. Then I get a HTTP 500 error inside the data sources pane of the
window, I click refresh and I get a server error (see below), then I
click refresh and I get the
I saw some reference to a similar problem that was caused by Enable
Whitespace Management
so I unchecked that checkbox and all was well again.
I've never noticed the Whitespace management feature to have any
effect in MachII apps anyway.
On Jul 10, 4:12 pm, Stephen M [EMAIL PROTECTED] wrote:
A
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 except https://domain.com
If
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
Try replacing the condition and rule with the below.
RewriteCond %{HTTP_HOST} !^www\.domain\.com$ [NC]
RewriteRule ^(.*)$ http://www. domain.com/$1 [R=301,L]
This should work obviously after replacing the domain with your own…
Regards,
George
From: cfaussie@googlegroups.com