Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

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,076
Downloads: 368
License: Apache License, Version 2

Description:

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/topics
domain.com/topic/{id number}
domain.com/users/female/25+
domain.com/tgarver (looks for a user)
domain.com/blog/

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.








Requirements:

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

Issue Tracker:

ID ISSUE STATUS UPDATED
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.

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/