On Thu, 27 Apr 2000, Ken Y. Clark wrote:
> On Wed, 26 Apr 2000, David Hajoglou wrote:
>
> > so, is it possible to take a GET request and rewrite the uri into a POST
> > request and if so how?
>
> i'm not sure if that's really necessary. you could just put the GET args
> into $r->pnotes, perhaps like so:
>
> sub handler {
> my $r = shift;
> return DECLINED unless $r->is_main();
>
> my $apr = Apache::Request->new($r);
> my @params = $apr->param;
> my %args = ();
> $args{$_} = $apr->param($_) for @params;
> $r->pnotes('args', %args);
> return OK;
> }
>
In my situation, we sometimes have developers who try to send uids and
passwords across using a get. This puts uids and passwords in the
logfile. Is there a way to rewrite the GET to a POST before logging so as
to remove the uid/password data pairs?
Jon
--
J. J. Horner
Apache, Perl, Unix, Linux
[EMAIL PROTECTED] http://www.knoxlug.org/