HI fellow php fans,
I am blocked with a simple problem, at least it seems simple,
but I cannot make it through.
I want to execute a .php script in case of "error 404, page not
found".
I am not yet on a production server but on my local Apache server.
I have defined my personal error file.
I have modified the apache configuration httpd.conf to point to this
file (see below).
QUOTE
#
# Customizable error response (Apache style)
# these come in three flavors
#
# 1) plain text
#ErrorDocument 500 "The server made a boo boo.
# n.b. the single leading (") marks it as text, it does not get
output
#
# 2) local redirects
#
# RCB 10.9.2004
#
ErrorDocument 404 /gfmer_404.php
#ErrorDocument 404 /missing.html
#
# to redirect to local URL /missing.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl
# N.B.: You can redirect to a script or a document using
server-side-includes.
UNQUOTE
When I try to load a non-existing page, it never comes to my above
defined gfmer_404.php file.
The standard error file-not-found is always displayed.
Do I miss something somewhere ?
Tks very much for your precious help.
RCB845