View Single Post
Old 09-27-2004, 10:24 PM  
MrJackMeHoff
Confirmed User
 
Join Date: Mar 2004
Location: LOLLIPOP ISLAND =-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=
Posts: 4,569
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.
__________________
MrJackMeHoff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote