> On 5/18/07, Matthew Friedman <[EMAIL PROTECTED]> wrote: > > 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. We do this all the time for SEO.
What you do is make a file, called items.cfm (or if not items, whatever will be displayed using this codeword) and you link to it like www.domain.com/items.cfm/codeword items.cfm is the page that will be called and you can simply get the codeword out of the cgi vars. No special 404 handler is needed. I think this may only work if you have CF installed in single server mode, but dont hold me to that. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278647 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

