 Index: boa-0.94.13/src/boa-plugin.h
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ boa-0.94.13/src/boa-plugin.h	2008-06-15 23:21:11.000000000 +0200
++++ boa-0.94.13/src/boa-plugin.h	2008-06-29 01:12:36.000000000 +0200
 @@ -0,0 +1,67 @@
 +#ifndef _HTTPD_PLUGIN_H__
 +#define _HTTPD_PLUGIN_H__

     char *path_translated;      /* env variable */
Index: boa-0.94.13/src/read.c
===================================================================
--- boa-0.94.13.orig/src/read.c	2002-03-18 02:53:48.000000000 +0100
+++ boa-0.94.13/src/read.c	2008-06-15 23:21:11.000000000 +0200
@@ -338,8 +338,11 @@
 
     if (bytes_to_write == 0) {  /* nothing left in buffer to write */

+
+	p = plugin_lookup(req);
+	if (!p)
+		return 0;
+
+	return plugin_run(req, p);
+}
