Also, I'm not sure this goes so far as to be unsupported by Macromedia. They show this code pretty frequently in the CFMX 6.1 livedocs and there's no mention of it being a hack or unsupported solution. They always discuss it in the context of integrating with JSP, but to me this is a bit different than doing all the stuff that folks do with some of the other unsupported CFMX stuff. You might dig around and see if anyone else has had the same problems you're describing.
Just my thought on it! Matt On Mon, 24 Jan 2005 13:51:01 -0600, Daniel Elmore <[EMAIL PROTECTED]> wrote: > Hey Matt, I have used the server side forward before and it caused TCP > connection flooding. Have you used it in a production environment? I have > not had success with it, and I know it's not supported by Macromedia. > > Thanks for your time. > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Matt Woodward > Sent: Monday, January 24, 2005 1:36 PM > To: [email protected] > Subject: Re: Web Server Redirect On File Extension > > Not sure about doing this in a config file, but if you do a > server-side redirect it'll send the use to a different page and not > chnage the URL. You could put something like this in your > Application.cfm file (just off the top of my head here): > > <cfscript> > if (FindNoCase(CGI.SCRIPT_NAME, ".cfm") OR FindNoCase(CGI.SCRIPT_NAME, > ".cfml")) { > getPageContext().forward("cfml_files.cfm"); > } > </cfscript> > > On Mon, 24 Jan 2005 13:22:49 -0600, Daniel Elmore > <[EMAIL PROTECTED]> wrote: > > I need to redirect all requests for .cfml files to one particular .cfm > file. > > When the user goes to www.mysite.com/test.cfml the url should not change > > but should instead load cfml_files.cfm. (I guess this isn't a true > redirect > > but more of wildcard include). I am not using apache but IIS, I know that > > would have make this easier. Is there a way to do this in CFMX's xml > > configuration files? > > > > Thanks! > > Daniel Elmore > > > > ---------------------------------------------------------- > > To post, send email to [email protected] > > To unsubscribe: > > http://www.dfwcfug.org/form_MemberUnsubscribe.cfm > > To subscribe: > > http://www.dfwcfug.org/form_MemberRegistration.cfm > > > > > > -- > Matt Woodward > [EMAIL PROTECTED] > http://www.mattwoodward.com > ---------------------------------------------------------- > To post, send email to [email protected] > To unsubscribe: > http://www.dfwcfug.org/form_MemberUnsubscribe.cfm > To subscribe: > http://www.dfwcfug.org/form_MemberRegistration.cfm > > > ---------------------------------------------------------- > To post, send email to [email protected] > To unsubscribe: > http://www.dfwcfug.org/form_MemberUnsubscribe.cfm > To subscribe: > http://www.dfwcfug.org/form_MemberRegistration.cfm > > -- Matt Woodward [EMAIL PROTECTED] http://www.mattwoodward.com ---------------------------------------------------------- To post, send email to [email protected] To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm
