This is a simple port of the 404 Project's PHP code which can be found
Bugs and Enhancements
Please let me know if you find a bug. Patches welcome but not required :-).
If you have instructions for setting this up with other web servers/app servers
please let me know and it can be added to this README.
1. Install mod_wsgi
2. Edit your wsgi.conf file (/etc/httpd/conf.d/wsgi.conf) and make it look like conf/apache/wsgi.conf.
3. Create a 404 template which will pass to the user. Make sure it is readable by apache.
4. Put your SANS credentials and path to the 404 template in the proper apache variables within wsgi.conf.
5. Reload apache
6. Go a page which should 404 and ensure that you do NOT get an ISE/500 and that you DO see the content from your 404 template.