httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nik600 <>
Subject forward request with proxy_http in custom module
Date Fri, 17 Aug 2012 14:25:09 GMT
Dear all

i'm trying to code a custom module that will implement some logic this
is the concept of the module:


* some stuff...

/*return a custom result*/

return OK;

/*forward the request to another server*/

	    r->filename = "proxy:";
	    r->proxyreq = PROXYREQ_PROXY;
	    r->handler  = "proxy-server";	

return OK;

But it seems that when i go into the else condition the proxy request
isn't handled.

proxy and proxy_http are enabled and correctly working.

Is this code correct to forward a request and make my module working
as a proxy_http ?

Thanks in advance


View raw message