Quote:
Originally posted by EscortDate_Enoj
I use
Code:
ErrorDocument 404 /index.php?module=error&code=404
and then when index.php is requested by Apache the environment will be as if the file which was not found existed. Take a look at for example the $_SERVER (PHP example) array when you request a 404 file.
I've seen it behave otherwise on other servers though, where the user plainly gets redirected to the 404 page instead. I assume it's some Apache directive for how to show error documents.
|
php is only showing the php as the link I requested on my server. Not the link I really wanted.