Managed Hosting



CF404 Rewrite
Project Home Forums Known Issues Screenshots Contact Project

Author: Tim Garver (All RIAForge projects by this author)
Last Updated: January 10, 2011 4:30 PM
Version: 1.2.6
Views: 18,924
Downloads: 378
License: Apache License, Version 2


I know there are a lot of these tools, but none really did what I wanted or I could not use them because of my hosting, so I wrote my own.

Custom 404 error page to be placed on your shared hosting server or dedicated server as well.

Main issue: You can not do a form post to an SEO URL with this script. That is because of the Web server and not the script. You can however still do a normal form post to any .cfm file via ajax would be best for the old fashion way will also work.

Uses a mapping structure or database to hold the routes for mapping.

URL's look like
domain.com/topic/{id number}
domain.com/tgarver (looks for a user)

when a user makes a request for a file that the Web Server can not find (meaning not a CFM file) then this script will be called.

The examples above will cause the web server to call this script and if it finds a match to the nodes within the URL, it will CFINCLUDE that file.

Update, added all files needed to make a working example with this script. Also added the files to SVN repo.


CF 7.x +
Ability to specify a custom 404 file.

Issue Tracker:

1 Hash anchors Fixed 01/10/11 4:28 PM

View All Issues

To enter issues for this (or any other) project, you must be logged in.

Subversion Access:

You may access this project's Subversion repository with your client here: http://svn.riaforge.org/cf404rewrite.

To view files and changelists associated with this repository, go here: http://cf404rewrite.riaforge.org/index.cfm?event=page.svnbrowse.

You may download the latest set of files from Subversion as a zip file.

Anonymous users have read access to the repository while the administrator has write access.

This project is sharing its code via Subversion. Subversion is an open source source control method. You may find more information about Subversion here: http://subversion.tigris.org/