That'll probably be matching against the full hostname, so try this:

RewriteRule /[\w-]+/$ index.cfm\?name=$1 [NC,L]


Also might be necessary to escape the slashes, so if that doesn't work give 
this a try:

RewriteRule \/[\w-]+\/$ index.cfm\?name=$1 [NC,L]

(Another thing you could try is using \z instead of the $, i.e. /[\w-]+/\z but 
I doubt that's the problem.)

Oh, and I'm not sure if you need to escape the question mark in the second 
part? Try just index.cfm?name=$1 for that. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330133
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to