Scott Weikert wrote:
> Is there a way with CF to do what you can do with Apache's mod rewrite - 
> to be able to pass a URL, say
>
> http://domain.com/x/y/z/
>
> which would actually call the index.cfm file in the webroot, and then 
> shuffle the x, y, and z values into variables, to mimic the normal style 
> URL, i.e.
>
> http://domain.com/index.cfm?var1=x&var2=y&var3=z
>
> I found this old thread that Ray Camden posted to:
>
> http://www.houseoffusion.com/groups/CF-Talk/thread.cfm/threadid:4667#20603
>
> but he didn't get into any specifics.
>
> Any URLs pointing me in the right direction would be great! Thanks much 
> guys.
>
>   
ColdFusion doesn't have a lot to do with it. If you setup Apache and 
mod_rewrite to do that, you can then parse the x y z out of the 
CGI.PATH_INFO variable, or if you rewrite the url completely to be like 
var1=x&var2=y then they will just be in the URL scope.  Or are you 
asking how to do this with IIS?

-Ryan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261940
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