Package: pyblosxom Version: 1.3.2-3 Severity: minor The /usr/lib/cgi-bin/pyblosxom.cgi file includes the following lines:
# Modified for Debian by Fredrik Steen <[EMAIL PROTECTED]> import os, sys localdir = os.environ.get('SCRIPT_FILENAME', None) if localdir: sys.path.insert(0, localdir[0:localdir.rfind('/')]) If you look at the stuff right before, this makes no sense (it's a duplicate). I would suggest to replace the above simply with root = os.environ.get('DOCUMENT_ROOT', None) if root is not None: sys.path.insert(0, root) which allows to use config.py in the DocumentRoot of a blog VirtualHost for the location of the config.py. With that in place, I can simply create a blog with apache2: DocumentRoot /srv/blogs/blog.madduck.net ScriptAlias / /srv/blogs/pyblosxom/pyblosxom-1.3.2/web/pyblosxom.cgi -- System Information: Debian Release: testing/unstable APT prefers stable APT policy: (700, 'stable'), (600, 'testing'), (98, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-1-686 Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages pyblosxom depends on: ii apache2 2.0.55-4 next generation, scalable, extenda ii apache2-mpm-worker [httpd] 2.0.55-4 high speed threaded model for Apac ii python 2.3.5-5 An interactive high-level object-o ii python2.3 2.3.5-9.1 An interactive high-level object-o pyblosxom recommends no packages. -- no debconf information -- Please do not send copies of list mail to me; I read the list! .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : proud Debian developer and author: http://debiansystem.info `. `'` `- Debian - when you have better things to do than fixing a system
signature.asc
Description: Digital signature (GPG/PGP)