On Tue, Jun 17, 2003 at 01:38:57PM +0100, Joel Bernstein wrote:
> On Tue, Jun 17, 2003 at 04:30:03AM -0700, Randal L. Schwartz wrote:
> > you don't want $r->pathinfo (which won't be set during trans).  you
> > want $r->uri, which will be something like /THISBITHERE.
> 
> The only difference that makes is to change the 404 Not Found to 400 Bad
> Request.

you didn't mean numeric addition here (people might think you've been
writing Java recently):

-               $r->internal_redirect($handlerpage+"&"+"login="+$login);
+               $r->internal_redirect($handlerpage."&"."login=".$login);

with this change and using $r->uri, it looks like it might be working,
but i don't have PHP built in so can't test it convincingly.

> This one is really really bugging me - can anybody suggest an
> alternative way to do this redirection (I think it's too complicated a
> case for mod_rewrite)?

but mod_rewrite is probably better.

-- 
Phil Lanch                    0xD78D598DA6635CF32AB24593C98994B7D95B33E3

"It's a button.  You press it.  Nobody gets hurt.  Get over it."
"Unless it's a button that says "SHOOT ME"."  -- David Pacheco

Reply via email to