I am not using Apache. I am using IIS because that is what my customers are using.
-----Original Message----- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 7:38 PM To: CF-Talk Subject: RE: Is this the best approach? It's Microsoft's fault that .htaccess doesnât work with IIS? If you mean it doesnât work with apache on Windows... well that's your fault, not Fuc**ng Microsoft's since you are apparently doing something wrong -----Original Message----- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 4:34 PM To: CF-Talk Subject: RE: Is this the best approach? 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270541 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

