httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonardo Sá <>
Subject Re: [users@httpd] addhandler issue
Date Sun, 04 Dec 2005 20:25:01 GMT
---------- Forwarded message ----------
From: Leonardo Sá <>
Date: Dec 4, 2005 6:23 PM
Subject: Re: [users@httpd] addhandler issue
To: Joshua Slive <>

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.

On 12/4/05, Joshua Slive <> wrote:
> On 12/4/05, Leonardo Sá <> 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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message