Package: libapache2-mod-python2.3
Version: 3.1.3-3
Severity: normal

If given any file with DirectoryIndex directive, it is not running and
give some errors. The solution is bellow:

--- apache.py.orig      2006-03-24 12:04:24.252276848 +0200
+++ apache.py.patched   2006-03-24 12:03:41.737740040 +0200
@@ -538,7 +538,7 @@ def build_cgi_env(req):
     req.add_common_vars()
     env = req.subprocess_env.copy()
         
-    if len(req.path_info) > 0:
+    if req.path_info and len(req.path_info) > 0:
         env["SCRIPT_NAME"] = req.uri[:-len(req.path_info)]
     else:
         env["SCRIPT_NAME"] = req.uri



-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=tr_TR.UTF-8, LC_CTYPE=tr_TR.UTF-8 (charmap=UTF-8)

Versions of packages libapache2-mod-python2.3 depends on:
ii  apache2                    2.0.54-5      next generation, scalable, extenda
ii  apache2-common             2.0.54-5      next generation, scalable, extenda
ii  apache2-mpm-prefork [apach 2.0.54-5      traditional model for Apache2
ii  debconf                    1.4.30.13     Debian configuration management sy
ii  libc6                      2.3.2.ds1-22  GNU C Library: Shared libraries an
ii  python2.3                  2.3.5-3sarge1 An interactive high-level object-o

-- debconf information:
* libapache2-mod-python/enable_module: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to