$NetBSD: patch-af,v 1.6 2000/09/12 14:17:32 jlam Exp $ --- src/modules/standard/mod_so.c.orig Thu Sep 7 01:28:46 2000 +++ src/modules/standard/mod_so.c @@ -307,7 +307,15 @@ ap_os_dso_handle_t handle; char *file; - file = ap_server_root_relative(cmd->pool, filename); + /* + * XXX Hack: If the filename starts with '!', then just as dlopen() + * XXX without translating to a pathname relative to ServerRoot. + */ + if (filename[0] == '!') { + file = filename + 1; + } else { + file = ap_server_root_relative(cmd->pool, filename); + } if (!(handle = ap_os_dso_load(file))) { const char *my_error = ap_os_dso_error();