I think, this patch fix this problem, but I don't know
nothing about side effect in CGI/FCGI/mod_python adapters.

--- Webware/WebKit.orig/HTTPRequest.py  Sun Jun 30 08:26:13 2002
+++ Webware/WebKit/HTTPRequest.py    Sun Jun 30 08:31:21 2002
@@ -346,7 +346,10 @@
                return self._serverRootPath

        def fsPath(self):
-               """ The filesystem path of the request, using the webserver's 
docroot"""
+               """ The filesystem path of the request, using SCRIPT_FILENAME
+                    environment variable or the webserver's docroot"""
+               if self._environ.has_key('SCRIPT_FILENAME'):
+                   return self._environ['SCRIPT_FILENAME']
                docroot = self._environ['DOCUMENT_ROOT']
                requri = self._environ['REQUEST_URI'][1:]#strip leading /
                if self.queryString():

-- 
Daniel Podlejski <[EMAIL PROTECTED]>
   ... She came to me one morning, one lonely Sunday morning,
   her long hair flowing in the mid-winter wind ...


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to