httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Noordhuis <i...@bnoordhuis.nl>
Subject Re: setting proxypass value
Date Wed, 15 Aug 2012 20:20:55 GMT
On Wed, Aug 15, 2012 at 10:11 AM, Ian B <porjo38@yahoo.com.au> wrote:
> I have a module that retrieves virtualhost config from LDAP backend
> (mod_vhost_ldap by Ondrej Sury). It works well however I'd like to extend it
> to also get and set a ProxyPass / ProxyPassMatch value for each virtualhost.
>
> Reading the value from LDAP is the easy part, however I'm stuck knowing how
> to set the value within Apache (I'm new to Apache development). I'm guessing
> that I will need to link to mod_proxy somehow and call one of it's
> functions??
>
> Could someone please point me in the right direction?
>
> Thanks,
> Ian

I don't think mod_proxy lets you do that, you'll have to patch it. The
relevant code is in add_pass() in modules/mod_proxy/mod_proxy.c.

Mime
View raw message