You've already got a couple of good answers, but I'll throw in another 
alternative solution for you:

Get coldcourse from riaforge and install the Ionic Isapi Rewrite module.  (I'm 
assuming you're using IIS.  If not, look into Apache's mod_rewrite 
functionality.  If you're using neither, good luck to you.)

With the isapi rewriter, you can make a rule that rewrites a url like
mydomain.com/asdf or mydomain.com/fdsa to mydomain.com/?myvar=asdf or 
mydomain.com/index.cfm?myvar=fdsa or whatever you want.

I've also done the custom 404 handler method, which would probably work just 
fine for you, too.  Particularly if this is limited to one site, since the 
custom 404 handler is a site-wide setting.  (You wouldn't want 
mydomain.com/app2/asdf to get converted to 
mydomain.com/app1/index.cfm?myvar=asdf, if you catch my drift.)

> I am not sure how I can do this.  What I need to do is to set up a 
> site that when the user hits a url to a specific domain ie: www.domain.
> com/codeword I can parse the "codeword" off the url string and 
> preforms some actions.
> 
> The only thing is that the server will not have the directory www.
> domain.com/codeword, I only want it to run with a single directory of 
> www.domain.com and I can reused the tool multiple times.
> 
> I am running this on an IIS server.
> 
> Any help would be great.
> 
Matt

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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