blob: 3028ee5c944a1ede900a989f68769ab927065945 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-ah,v 1.2 1999/11/27 22:52:09 rh Exp $
--- src/modules/standard/mod_so.c.orig Sat Nov 27 23:46:32 1999
+++ src/modules/standard/mod_so.c Sat Nov 27 23:46:34 1999
@@ -306,6 +306,9 @@
ap_os_dso_handle_t handle;
char *file;
+/* XXX Hack: ask dlopen() without translating for ServerRoot. */
+ if (filename[0] == '!') file = filename + 1;
+ else
file = ap_server_root_relative(cmd->pool, filename);
if (!(handle = ap_os_dso_load(file))) {
|