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


Reply via email to