Package: twiki
Version: 1:4.0.5-1
Severity: normal

I suggest some modification of the apache.conf URL regexp :
# diff -u apache.conf.orig apache.conf
--- apache.conf.orig    2006-11-29 22:59:55.000000000 +0100
+++ apache.conf 2006-11-29 23:00:22.000000000 +0100
@@ -1,7 +1,7 @@
 # Added for twiki
 Alias /twiki/pub /var/www/twiki/pub

-RedirectMatch /twiki(/[A-Z].*)?$ http://whatever//cgi-bin/twiki/view$1
+RedirectMatch /twiki(/([A-Z].*)?)?$ http://whatever//cgi-bin/twiki/view$1

 # make sure this is even needed, and ref the doc section needing it
 <Directory /usr/lib/cgi-bin/twiki/>

That way, http://whatever/twiki or http://whatever/twiki/ work the same : 
redirecting to the Main/WebHome, and not displaying contents of the 
/var/www/twiki dir (containing pub).

Hope this helps.

Best regards,

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-epia-200608261
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages twiki depends on:
ii  apache-common                 1.3.34-4   support files for all Apache webse
ii  debconf [debconf-2.0]         1.5.8      Debian configuration management sy
ii  libalgorithm-diff-perl        1.19.01-2  a perl library for finding Longest
ii  libcgi-session-perl           4.14-1     Persistent session data in CGI app
ii  libdigest-sha1-perl           2.11-1     NIST SHA-1 message digest algorith
ii  liberror-perl                 0.15-8     Perl module for error/exception ha
ii  liblocale-maketext-lexicon-pe 0.62-1     Lexicon-handling backends for "Loc
ii  libnet-perl                   1:1.19-3   Implementation of Internet protoco
ii  libtext-diff-perl             0.35-2     Perform diffs on files and record 
ii  perl [libmime-base64-perl]    5.8.8-6.1  Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl]    5.8.8-6.1  Core Perl modules
ii  rcs                           5.7-18     The GNU Revision Control System

twiki recommends no packages.

-- debconf information excluded


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

Reply via email to