From b38c11fe6a5700f77e52eb7a9ef65f2d920e3d80 Mon Sep 17 00:00:00 2001 From: SvenDowideit Date: Thu, 8 Oct 2009 13:37:55 +0000 Subject: [PATCH] Item2219: make the redirectmatch /cgi-bin/foswiki for previous debian packages actually work git-svn-id: http://svn.foswiki.org/branches/Release01x00@5234 0b4bb1d4-4e5a-0410-9cc4-b2b747904278 --- core/tools/pkg/debian/apache.conf | 6 +++--- core/tools/pkg/debian/changelog | 9 ++++++++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/core/tools/pkg/debian/apache.conf b/core/tools/pkg/debian/apache.conf index 4e3c53efe2..263c2ef5f4 100644 --- a/core/tools/pkg/debian/apache.conf +++ b/core/tools/pkg/debian/apache.conf @@ -15,12 +15,12 @@ # BrowserMatchNoCase ^SiteSucker blockAccess # BrowserMatchNoCase ^$ blockAccess +#support the cgi-bin url's +RedirectMatch /cgi-bin/foswiki/(.*)$ /foswiki/bin/$1 + RedirectMatch /foswiki/?$ /foswiki/bin/view$1 RedirectMatch /foswiki(/([A-Z].*)?)?$ /foswiki/bin/view$1 -#support the cgi-bin url's -RedirectMatch /cgi-bin/foswiki/?$ /foswiki/bin/$1 - #see /etc/foswiki/ShorterUrl.conf to activate ShorterUrls # The ScriptAlias defines the bin directory as a directory where CGI diff --git a/core/tools/pkg/debian/changelog b/core/tools/pkg/debian/changelog index 64c2f69bba..c0fb720601 100644 --- a/core/tools/pkg/debian/changelog +++ b/core/tools/pkg/debian/changelog @@ -1,8 +1,15 @@ +foswiki (1.0.7-3) unstable; urgency=high + + * fis up the legacy redirect from /cgi-bin/foswiki + + -- Sven Dowideit Thu, 08 Oct 2009 13:22:35 -0700 + foswiki (1.0.7-2) unstable; urgency=high * Remove cp of the cgi-bin dir, just package files now - Item2219 + * I can't sign a package for Drake :/ so I've changed the line below - -- Drake Diedrich Wed, 07 Oct 2009 13:22:35 -0700 + -- Sven Dowideit Wed, 07 Oct 2009 13:22:35 -0700 foswiki (1.0.7-1) stable; urgency=high