From 898ea78774b44c2023e8ea91869b3af23a82c416 Mon Sep 17 00:00:00 2001 From: =?utf8?q?H=C3=A9ctor=20Or=C3=B3n=20Mart=C3=ADnez?= Date: Sat, 14 Dec 2013 02:57:32 +0100 Subject: [PATCH] Serve xhtml from generic cofiguration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Héctor Orón Martínez --- .../roles/templates/static-mirroring/static-vhost.conf.erb | 3 ++- .../static-mirroring/vhost/static-vhosts-simple.erb | 7 ------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/modules/roles/templates/static-mirroring/static-vhost.conf.erb b/modules/roles/templates/static-mirroring/static-vhost.conf.erb index e3aceae7..2e79bcbd 100644 --- a/modules/roles/templates/static-mirroring/static-vhost.conf.erb +++ b/modules/roles/templates/static-mirroring/static-vhost.conf.erb @@ -9,7 +9,7 @@ DocumentRoot /srv/static.debian.org/mirrors/$name/cur AllowOverride FileInfo Indexes Options=Multiviews - Options Multiviews Indexes FollowSymLinks + Options Multiviews Indexes FollowSymLinks Includes IndexOptions FancyIndexing NameWidth=* Order allow,deny Allow from all @@ -17,6 +17,7 @@ DefaultType text/plain AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css + AddOutputFilter INCLUDES .xhtml diff --git a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb index 10c820c0..4088d28d 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -59,10 +59,3 @@ Use common-static-vhost-with-extra www.ports.debian.org "ServerAlias www.ports-b ServerAdmin debian-admin@debian.org RedirectPermanent / http://www.ports.debian.org/ - - > - ServerName ports.debian.org - ServerAdmin debian-admin@debian.org - Options MultiViews Includes - AddOutputFilter INCLUDES .xhtml - -- 2.39.2