(www.domain.com) and the client wanted a new site, so we built it and
placed it into a directory (www.domain.com/directory)
I put an index.cfm in the root directory which contains a <cflocation>
to push the user into the directory to see the new site. However, if
users had pages bookmarked in the root site (www.domain.com/page.cfm)
and they go to that page, the get a CF error saying "File Not Found:
/page.cfm" So, I added an Application.cfm to the root directory which
contains nothing but <cflocation> to put the user into the directory,
yet, I still see the File Not Found error and don't get re-located. I
also have a .htaccess file to redirect 404 errors to the new directory,
but I'm guessing that since CF is returning the error, it doesn't
actually count as a 404. If I go to a bogus page, I do get redirected
by the .htaccess.
Sooo, my question is, how do I get CF to ignore that the file doesn't
exist and just redirect? I figured the Application.cfm would fire
before it even checked for the page and would do the redirect (no such
luck). Suggestions/explanations would be great. Thanks.
John Burns
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

