---------- Forwarded message ----------
From: Leonardo Sá <[EMAIL PROTECTED]>
Date: Dec 4, 2005 6:23 PM
Subject: Re: [EMAIL PROTECTED] addhandler issue
To: Joshua Slive <[EMAIL PROTECTED]>


I have this on the .htaccess file:

Action phphandler /handlers/main.php
AddHandler phphandler .php

So, anything.php would be handled by main.php right? Its working good,
except that when using forms with method=POST, main.php does not
receive the variables... I tried GET forms and they work good.
Thanks for the reply.
Leo

On 12/4/05, Joshua Slive <[EMAIL PROTECTED]> wrote:
> On 12/4/05, Leonardo Sá <[EMAIL PROTECTED]> wrote:
> > Im writting a php based front controller for my website, and i choosed
> > to do so by redirecting all php file request to one file:
> >
> > addhandler phphandler .php
> >
> > works fine. However, I can only use GET requests within my scripts.
> > POST variables seem to get lost somehow. Is it possible to fix it or
> > is there any other way to do it?
>
> The above configuration doesn't redirect everything to one file.
> You'll need to show us what configuration you are using to do that
> before we can comment on whether there is a better way.
>
> Joshua.
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to