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.
You could use the 404 custom error template to pull the codeword from the CGI.PATH_INFO and then include content accordingly. The error template is a site-wide thing though. I imagine you could probably also use ISAPI_Rewrite to rewrite the URLs to something useful. Jared Smith ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278643 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

