Actaully, neither Apache or PHP is at fault. The ErrorDocument (either in
httpd.conf or an .htaccess file) follows absolute paths, so you are calling
your engine.php out of the root directory of the machine. So the question
is, do you have engine.php in the / folder? If not you can put it there or
just adjust your ErrorDocument command to point to the path of the file.

Hope this helps.


----- Original Message -----
From: "Fabien Penso" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 17, 2002 1:21 PM
Subject: [PHP] ErrorDocument 404 & Form


> Hi.
>
> I got a trouble I don't know if Apache or PHP is in fault. Let's say I
> got something like :
>
> ErrorDocument 404 /engine.php
>
> If I make a form which use POST and redirect to something which doesn't
> exist, then a phpinfo() in engine.php won't show the variables. Am I
> wrong thinking it should ? Is there a way to make this work ?
>
> Thanks.
>
> --
> Fabien Penso <[EMAIL PROTECTED]> | LinuxFr a toujours besoin de :
> http://perso.LinuxFr.org/penso/  | http://linuxFr.org/dons/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to