Oh...you can do the same thing with Apache, if you have the mod_rewrite
module available to you.

Create a file called ".htaccess" and place the following inside it:

RewriteEngine on
RewriteRule shirt/([a-zA-Z0-9-]+) shirt.cfm?name=$1

The hardest part is actually creating the file. Open a text editor, paste
those lines inside it, then in the filename box, type ".htaccess" (INCLUDING
the quotes).


andy

 

-----Original Message-----
From: Les Mizzell [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 13, 2008 10:23 AM
To: CF-Talk
Subject: a sIMPLER url?

I started with this:
http://www.mysite.com/seminar.cfm?id=Foreign08


Upon client request, I rewrote it to this:
http://www.mysite.com/seminar.cfm/Foreign08


Now they want this:
http://www.mysite.com/seminar/Foreign08


I've not been able to figure a way to do it without the .cfm extension.


Ideas?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298894
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to