[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#239807: axkit: DirectoryIndex is not Working



Package: axkit
Version: 1.6.2-3
Severity: normal
Tags: patch

In the current version of Axkit the directory index is not Working, the
Problem is described on:

http://maclux-rz.uibk.ac.at/maillists/axkit-users/msg06165.shtml

There is also a Patch available for the file:

/usr/lib/perl5/Apache/AxKit/Provider/File.pm

----------------schnipp---------------------------
--- File.pm.orig	2004-03-24 13:21:22.000000000 +0000
+++ File.pm	2004-03-24 13:22:00.000000000 +0000
@@ -152,8 +152,10 @@
 sub decline {
     my $self = shift;
     if ($self->_is_dir) {
-        $self->{apache}->header_out('Location' => $self->{apache}->uri . "/");
-        return 302;
+    	if ($AxKit::Cfg->HandleDirs()) {
+       		$self->{apache}->header_out('Location' => $self->{apache}->uri . "/");
+        	return 302;
+	}
     }
     return $self->SUPER::decline();
 }
--------------------schnapp------------------------------



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.20-1um
Locale: LANG=C, LC_CTYPE=C

Versions of packages axkit depends on:
ii  libapache-mod-perl          1.29.0.2-4   Integration of perl with the Apach
ii  libapache-request-perl      1.1-0.1      Generic Apache Request Library
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libcompress-zlib-perl       1.16-1.1     Perl module for creation and manip
ii  liberror-perl               0.15-5       Perl module for error/exception ha
ii  libhttp-ghttp-perl          1.07-6       Perl module for using the Gnome gh
ii  libxml-libxml-perl          1.52-5       Perl module for using the Gnome li
ii  libxml-libxslt-perl         1.52-1       Perl module for using the Gnome li
ii  libxml-parser-perl          2.34-1       Perl module for parsing XML files
ii  libxml-sablot-perl          1.0-1        encapsulation of the Sablotron XSL
ii  libxml-sax-machines-perl    0.40-1       Perl modules for managing collecti
ii  libxml-xpath-perl           1.13-4       Perl module for processing XPath
ii  libxml2                     2.5.11-2     GNOME XML library
ii  perl                        5.8.3-2      Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8.1]   5.8.3-2      The Pathologically Eclectic Rubbis
ii  zlib1g                      1:1.2.1-3    compression library - runtime

-- no debconf information



Reply to: