I've never messed with .htaccess files before, but this should be pretty simple. I have an ErrorDocument handler in my .htaccess file, and this is it:
My entire .htaccess file is below, from line 0 to 1:
Code:
ErrorDocument 404 index.php?error=true
However, if I go to mywebsite.com/asdlfkasfasdf.php (obviously doesn't exist), it just shows on the screen 'index.php?error=true' as if it were text. I would understand this if I had quotes wrapped around it, but there aren't. No Quotes..
Why is this doing this? How can I fix it?
Thanks!
|