Active Error Pages
Intelligent custom error document handling..

(c) 2004->tomorrow! cor + corz.org ;o)

itstory..

2.1

*   Fixed a minor issue where php would throw up a warning if there was an
error in your "moved.ini". This is addition to the warning one would
receive about the error in moved.ini!

*	Added a routine to ensure user ignore prefs are valid (omitting a
slash will put AEP into a loop).

2.0

*	Active Error pages is now an all-in-one script, a single php file
with settings at the top, handling all your error pages automatically.

This is a major change, much leaner and cleaner, and with *way* less
files in your file system!

This update brought too many internal changes to list. If you are using
the old 404, please take a moment to read the updated documention!

*	Beautiful HTML5 output.

*	As well as specify a global domain for all catchers redirects, you can enter
the full URL into the ini - 404 will see the http*something and use your
entire string as the redirect URL.

*   Settings are back inside the script - ther's only one script now!

*	and much more!

---^---	Enter Active Error Pages ---^---

1.9.15

End of the line for the Clever 404!

*	central config file: error-settings.php

*	removed some left-over branding

*	Added matching 400, 410 and 503 pages

1.9.11

*	In the event of the site scan turning up a single match, 404 can now
redirect with a proper 301 header, just like the catchers. Most
users wouldn't even realize they got a 404. This basically gives you
automatic 301 permanent redirects for any pages you move. keep the
users and spiders happy!

*	You now can specify the catchers auto-jump method, '301', or
old-school meta-refresh, in the preferences.

*	Added scan locking. When 404 is scanning the site, it will place a
temporary lock file, to prevent crazy bots and site abusers from
running multiple file scans at once, and potentially stressing the
server, chewing up resources.

404 will still display, but with a message telling the user to wait
a moment before trying again, rather than the usual search results.
Most folk will never see this in action, but it's good to know it's
there, preventing potential mishaps.

*	You can now choose to have 404 return matches for directories.
so if the user was looking for the non-existent/foo/hell they could
get back results for /bar/shell scripts/

*	Fixed the slashes in the corzoogle input (for '' quotes).

1.8

*	fixed the corzoogle image location, and some other stuff.

*	Cleaned up distro prefs.

*	Improved layout, now uses a nice container like my regular pages

1.7

*	incorporated partial matching and fuzzy matching; produces great
results.

*	cleaned up some xhtml output

1.6.5

*	Added some fuzzy matching for the file scan. A sorta request.

*	this is a highly specialized tweak, but works great as per request.
you can play around with things to get different results, but as it
stands, g-dip will match g_dip.jpg, and in my own mirror,
tempz_piles will match tempx_piles.jpg, etc. This can be
enabled/disabled from a preference called $active_errors['fuzzy_match'].

1.6.2-1.6.4

*	just minor things.

1.6.2:

*	Fixed some potential bugs in initialisation.

1.6.1:

*	XHTML 1.0 Strict compliance. Nice.

1.6:

*	404 will now strip characters from the input string for entry into
the corzoogle search box. for instance, a 404 for mama.mia.php will
now enter "mama mia" into the search box, instead of "mama.mia"
which would likely produce a lot less hits. corzoogle, of course,
takes the dot into account

Added some information to the readme up top, including important
notes about editing the redirections. I discovered this the hard
way.

:2do..

lost songs
redirect lost *.mp3 (or whatever specific extension(s)) to a special page
like the /audio/ root.