Re: ErrorDocument 404 & Form

From: Date: Wed, 17 Jul 2002 19:46:11 +0000
Subject: Re: ErrorDocument 404 & Form
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-108151@lists.php.net to get a copy of this message
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" <penso@linuxfr.org> To: <php-general@lists.php.net> 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 <penso@linuxfr.org> | 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 > >

« previous php.general (#108151) next »