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,
This string compare worked great for me.
I'm doing this job matching strings to generate foreign keys. i've
already done a lot of pattern matching but i'm thinking that to be
really careful i should do some sort of similarity comparison. and i
remembered this thread. and i followed this link.
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 Server,
so if you can do it there you really should. Why make CF process
requests when the web server can do it?
Some say the
Really it doesn’t take much
cflocation url=https://www.#replace(server_name, 'www.', '')#
addtoken=No /
To answer the question of Why make CF process requests when the web server
can do it?, for cross platform compatibility. What happpens if the app
ends up for some reason on a window web
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
Also if you do want to do it with CF see here:
http://www.chapter31.com/2007/07/21/detecting-and-redirecting-http-to-https/
On Jul 12, 12:29 am, Steve Onnis [EMAIL PROTECTED] wrote:
Really it doesn’t take much
cflocation url=https://www.#replace(server_name, 'www.', '')#
addtoken=No /
To