Fixed it - or at least got it working on this particular machine.

For reasons I don't understand right now, Apache is appending an extra
"/" at the front of the urlPath.  I whipped this up as a fix, and
thought it may be useful to someone else.

--- pristine/Webware-0.8.1/WebKit/Application.py        2003-01-22 04:03:25.000000000 
-0500
+++ Webware-0.8.1/WebKit/Application.py 2004-02-29 16:04:21.000000000 -0500
@@ -1169,6 +1169,9 @@
                extraURLPath=''
  
                urlPath = request.urlPath()
+
+               while urlPath[:2] == "//":
+                       urlPath = urlPath[1:]
                if debug: print '>> urlPath =', repr(urlPath)
  
                ##if the requested file is in the filesystem outside of any context...





-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to