Redirect 404s to root if mod_rewrite is missing

If we don't have mod_rewrite installed, all 404's can be sent to index.php, and everything works as normal.  Code thanks to ElliotHaughin