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: How to access client socket from a protocol handler
Date Sat, 23 Oct 2010 12:08:59 GMT
On Sat, Oct 23, 2010 at 10:13, Alexander Farber
<alexander.farber@gmail.com> wrote:
> I wonder why my mod_perl module works and the C one not.

Your connection handler should return DECLINED for vhosts it doesn't
handle (I wager mod_perl did this for you).

You can get the vhost with conn->base_server and your module's
per-server config with
ap_get_module_config(conn->base_server->module_config, &your_module).

Mime
View raw message