On Sat, Oct 23, 2010 at 10:13, Alexander Farber <alexander.far...@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).