CONNECT proxy rewrite

2001-03-01 Thread Chris Lewis
Does anybody know how to alter the destination of a CONNECT transaction (in this case "secure proxy" request) in mod_perl? $r-uri("newplace:newport") in a Trans handler doesn't seem to do it.

Unusual proxying, CONNECT munging.

2001-02-28 Thread Chris Lewis
We have a rather unusual proxying scheme. In normal operation, our server has all of the slave applications' DNS pointing to itself. Browsers are not configured to proxy. After authentication and access control, it converts the "local" reference to a proxy to the real server (like the wAMPC

Timing

2000-10-05 Thread Chris Lewis
We're using Apache/modperl as a fairly sophisticated single-signon front end for multiple web servers. I'm trying to put metrics in to log timings of parts of the process. Eg: elapsed times during authentication, authorization etc. Is there any way to time how long a translated-to-proxy

Re: Authentication and Redirection

2000-10-05 Thread Chris Lewis
The Ticket handling code in the Eagle Book shows how you can use redirects and cookies to remember where the user wanted to go. After authenticating, you redirect the user back to where they were trying to go. Which works, as long as you don't have to remember more than the URL the user

Re: [OT] advice needed.

2000-09-29 Thread Chris Lewis
Vladislav Safronov wrote: http://vlad.narod.ru/contract.html is it really looks like a usual thing? Fairly usual, once read carefully and you realize that they're only claiming inventions that relate to them/resourced by them - the rest is disclosure, in an attempt to forestall any future

Re: Problems with proxying POST?

2000-09-29 Thread Chris Lewis
Doug MacEachern wrote: On Thu, 28 Sep 2000, Chris Lewis wrote: It works to proxy the HTTP to the system fine, however, POST parameters seem to get mangled and/or truncated. they should get passed through by mod_proxy, provided nobody else has read the POST data first. When I try

Re: Problems with proxying POST?

2000-09-29 Thread Chris Lewis
I figured out what it was. One of the $r-header_in() was trying to insert an Authorize header, and I didn't notice that base64_encode() tacks on a newline. After Apache core got thru with it, it ended up looking like: Authorize: Basic \n \r\n \r\n

Problems with proxying POST?

2000-09-28 Thread Chris Lewis
I'm writing a perl trans handler to invoke mod_proxy for non-proxy requests. Stronghold 3 on Solaris 2.6, server announces: Stronghold/3.0 Apache/1.3.12 C2NetEU/3011 (Unix) PHP/3.0.16 mod_ssl/2.6.4 OpenSSL/0.9.5a mod_perl/1.22 I'm essentially using the code from page 371 of the Eagle book