Project

General

Profile

Actions

Feature #1458

closed

Several listing enhancements

Added by hr about 17 years ago. Updated over 15 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_dirlisting
Target version:
ASK QUESTIONS IN Forums:

Description

The start point for this patch is the will to get an official ubuntu repository (fr.archive.ubuntu.com) from apache to lighty. For this, we have to keep some of the mechanisms ubuntu gives us and transfer them from apache to lighty. I tried to implement some of the mod_autoindex things in lighty mod_dirlisting, keeping in mind that it should stay light.

The patch attached basically changes the following things :
  • add dir-listing.encode-header and dir-listing.encode-readme, these options are booleans. It gives the ability to provide a valid html file as HEADER.txt and README.txt, these files are just printed before and after the actual listing. A further enhancement would be to choose the name of those files.
  • add dir-listing.auto-layout, this option is a boolean. When disabled, it will remove the html part lighty was automatically outputing as the start of the page and the end (from <DOCTYPE to <body> and </body></html>). This lets the possibility to take care of those parts in the header and readme files.
  • add dir-listing.pre-list, this option is a boolean. When enable, it will replace the <div></div> around the listing by < pre > < /pre > keeping the same css class.

Files


Related issues 3 (0 open3 closed)

Related to Feature #1605: patch for dirlisting.extra-head confvarWontfixjanActions
Related to Feature #2063: dirlisting: allow HTML documents for HEADER/READMEObsolete2009-09-06Actions
Related to Feature #1183: mod_dirlist.c supporting default_cssObsoleteActions
Actions #1

Updated by stbuehler about 16 years ago

  • Target version changed from 1.4.20 to 1.4.21
Actions #2

Updated by icy almost 16 years ago

  • Target version changed from 1.4.21 to 1.4.22
  • Patch available set to Yes
Actions #3

Updated by stbuehler over 15 years ago

  • Target version changed from 1.4.22 to 1.4.23
Actions #4

Updated by stbuehler over 15 years ago

I don't see why we need pre instead of div; and we should drop the footer if auto-layout is disabled.

Actions #5

Updated by stbuehler over 15 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2478.

Actions #6

Updated by gstrauss over 8 years ago

  • Related to Feature #1183: mod_dirlist.c supporting default_css added
Actions

Also available in: Atom