
jwd at choice
Mar 16, 2000, 4:21 PM
Post #3 of 3
(355 views)
Permalink
|
|
Re: PerlAuthHandler for proxy a little odd
[In reply to]
|
|
Thanks for the input it does not seem to help either way. Here is the code that does the work. my $requested_uri = Apache::URI->parse($r, $r ->uri); $r -> content_type('text/html'); $r -> header_out('Location' => $requested_uri); $r -> header_out('Set-Cookie' => $ticket); $r -> send_http_header; return REDIRECT; "G.W. Haywood" wrote: > > Hi there, > > On Wed, 15 Mar 2000, jwd wrote: > > > I have both mod_perl and mod_proxy as shared objects. I have a > > cookie-based PerlAuthHandler for <Directory proxy:*> that once the user > > is authenticated, it REDIRECTS the originally > > requested URL back to the browser with the "Set-Cookie" header. > > Everything works OK except that when that page that is redirected back > > to itself the first time gets back to the browser, the document headers > > are displayed in the browser window. If a reload/refresh is clicked > > then the page is displayed correctly. > > > > If there is a way to simply resolve this I'd like to know. Would dong > > something like sending a Pragma; nocache help? > > Do you have PerlSendHeader ON? > > See pages 170-171, Eagle Book (and the index). > > 73, > Ged.
|