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

Bug#694927: marked as done (http://www.debian.org/doc/manuals/ does index listing)

Your message dated Sun, 24 Jan 2016 16:22:41 +0000
with message-id <20160124162241.GA10986@shiftout.net>
and subject line Re: Bug#694927: http://www.debian.org/doc/manuals/ does index listing
has caused the Debian Bug report #694927,
regarding http://www.debian.org/doc/manuals/ does index listing
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

694927: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694927
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: www.debian.org
Severity: important

While looking for documentation, i found out that
http://www.debian.org/doc/manuals/ does a standard apache directory
index listing, without our spacefun theme.

That should be changed.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

 Martin Zobel-Helas <zobel@debian.org>  | Debian System Administrator
 Debian & GNU/Linux Developer           |           Debian Listmaster
 GPG key http://go.debian.net/B11B627B  |            Debian Webmaster
 GPG Fingerprint:  6B18 5642 8E41 EC89 3D5D  BDBB 53B1 AC6D B11B 627B 

Attachment: signature.asc
Description: Digital signature

--- End Message ---
--- Begin Message ---

The attached patch has been applied to the Apache configuration.


>From 2550323991ed9bdb0ec053cc97d059d3ad5372c7 Mon Sep 17 00:00:00 2001
From: "Iain R. Learmonth" <irl@debian.org>
Date: Sun, 24 Jan 2016 16:15:34 +0000
Subject: [PATCH] Redirects /doc/manuals/ to /doc/

The /doc/manuals/ folder contains manuals that are built as part of the
webwml process, but does not contain an index file. /doc/ is the logical
index file for this, so redirect to that to avoid just providing an
Apache index listing. (Fixes: #694927)
 modules/roles/templates/apache-www.debian.org.erb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/roles/templates/apache-www.debian.org.erb b/modules/roles/templates/apache-www.debian.org.erb
index b83d602..7624059 100644
--- a/modules/roles/templates/apache-www.debian.org.erb
+++ b/modules/roles/templates/apache-www.debian.org.erb
@@ -277,6 +277,7 @@
 # Canonical place for manuals under /doc/manuals/
    RewriteCond %{DOCUMENT_ROOT}/doc/manuals/$1 -d
    RewriteRule ^/doc/([^/]+)/?(.*)? /doc/manuals/$1/$2 [L,R=301]
+   RewriteRule ^/doc/manuals/?$ /doc/ [L,R=301]
 # Relocation of blends pages
    RewriteRule ^/devel/hamradio(.*)$ /blends/hamradio$1 [R=301,L]

--- End Message ---

Reply to: