Re: [users@httpd] addhandler issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---------- Forwarded message ----------
From: Leonardo Sá <leo@xxxxxxxxxx>
Date: Dec 4, 2005 6:23 PM
Subject: Re: [users@httpd] addhandler issue
To: Joshua Slive <jslive@xxxxxxxxx>


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 <jslive@xxxxxxxxx> wrote:
> On 12/4/05, Leonardo Sá <leolimasa@xxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux