Thursday, September 27, 2012
Monday, September 17, 2012
REQUEST_URI on ErrorDocument redirection issues
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
Saturday, September 15, 2012
Subscribe to:
Comments (Atom)

