httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jodi Bosa <jodib...@gmail.com>
Subject proxying another protocol to http/https
Date Thu, 07 Jul 2011 00:56:10 GMT
I would like to leverage mod_proxy and mod_proxy_http to proxy client
requests (from another protocol).
Assuming I have input & output filters that handle the other protocol with
the client, shouldn't I simply be able to:


Handler
{
    r->filename = apr_psprintf(r->pool, "proxy:https://%s", hostname);
    r->proxyreq = PROXYREQ_PROXY;
    return DECLINED; /* to allow mod_proxy to kick in and do it's thing */
}


Thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message