Disregard. I am using Windows and apparently .htaccess does NOT work in windows. Fuc**ng Microsoft.
Bruce -----Original Message----- From: Ryan Stille [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 20, 2007 1:28 PM To: CF-Talk Subject: Re: Is this the best approach? As an alternative to dynamically creating/managing directories and copying code into them, here is what I have done in the past. Each time a "sweepstake" is added, modified or deleted, we recreated a .htaccess file in the root directory that sets up redirects for each sweepstake. So /sweepstakeName redirects to /sweepstakes/index.cfm?sweepstakes_ID=45 or /sweepstakes/index.cfm?sweepstakes_Title=SweepstakeName If you want the user to stay at /sweepstakename all the time and not be redirected, you could write out mod_rewrite lines instead. I'm not saying thats a better way of doing it, just another way. I prefer to have as few pieces of code-generated-code as possible. Also you might want to think of having an "active" flag, so a sweepstake could still exist and be viewed in the admin side, without actually giving users access to it. -Ryan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270532 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

