httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject [PATCH] Re: Help with reverse proxy and authentication
Date Thu, 29 Apr 1999 14:34:07 GMT
Dirk-Willem van Gulik wrote:

> Unfortunately the answer is not soo simple. Are you in a great hurry ?
> if not, I am currently completing a consultancy, which includes a so-
> lution for part of this problem. I intend to silently put this into
> apache  two weeks after the last deliverable is accepted, and I
> think it would be a good idea to do the reverse proxy as well.

I decided to investigate where Apache decided that the request was to be
handled by the proxy, and change this from a simple noproxy / proxy
arrangement to three states - NONE, PROXY and REVERSE with the values 0,
1 and 2 respectively. Most of the code tests proxyreq for non zero
status, only the authenticate code cares whether it's REVERSE or PROXY.

The patches are attached.

Can you tell me if my solution is too simplistic? I have tested it, and
it seems to work, but a second opinion would be great.

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight...
Mime
View raw message