 Index: boa-0.94.13/src/globals.h
 ===================================================================
 --- boa-0.94.13.orig/src/globals.h	2002-07-24 05:03:59.000000000 +0200
-+++ boa-0.94.13/src/globals.h	2008-05-27 19:28:21.000000000 +0200
++++ boa-0.94.13/src/globals.h	2008-06-15 23:21:11.000000000 +0200
 @@ -47,6 +47,7 @@
  struct request {                /* pending requests */
      int fd;                     /* client's socket fd */

+	if (p[strlen(p) - 1] == '/')
+		return;
+
+	dl = dlopen(p, RTLD_NOW);
+	if (!dl) {
+		fprintf(stderr, "Unable to load plugin '%s': %d\n", p, dlerror());
+		return;

Index: boa-0.94.13/src/alias.c
===================================================================
--- boa-0.94.13.orig/src/alias.c	2002-07-28 04:46:52.000000000 +0200
+++ boa-0.94.13/src/alias.c	2008-06-15 23:21:11.000000000 +0200
@@ -213,6 +213,7 @@
     uri_len = strlen(req->request_uri);
 
