I just realized that in order for $_SERVER['REQUEST_URI'] to work on PHP properly when redirecting through .htaccess on an ErrorDocument 404 redirect, it needs to be a relative position (meaning, not containing http://www.example.com/notfound.php but just /notfound.php)
It took me about 2 hours to figure it out and I would still be swamped if I didn't find this post!
ALL HAIL TO ATLI
It took me about 2 hours to figure it out and I would still be swamped if I didn't find this post!
ALL HAIL TO ATLI
No comments:
Post a Comment