From users-return-5218-daniel=haxx.se@subversion.apache.org Thu Oct 7 11:31:56 2010 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on giant.haxx.se X-Spam-Level: X-Spam-Status: No, score=-1.5 required=3.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by giant.haxx.se (8.14.3/8.14.3/Debian-9.1) with SMTP id o979VtU7006556 for ; Thu, 7 Oct 2010 11:31:55 +0200 Received: (qmail 16437 invoked by uid 500); 7 Oct 2010 09:31:46 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 16429 invoked by uid 99); 7 Oct 2010 09:31:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Oct 2010 09:31:45 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS Received-SPF: pass (nike.apache.org: local policy) Received: from [85.158.136.83] (HELO mail36.messagelabs.com) (85.158.136.83) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 07 Oct 2010 09:31:38 +0000 X-VirusChecked: Checked X-Env-Sender: Jon.Foster@cabot.co.uk X-Msg-Ref: server-8.tower-36.messagelabs.com!1286443877!45605411!1 X-StarScan-Version: 6.2.4; banners=cabot.co.uk,-,- X-Originating-IP: [82.68.80.136] Received: (qmail 24095 invoked from network); 7 Oct 2010 09:31:17 -0000 Received: from 82-68-80-136.dsl.in-addr.zen.co.uk (HELO mailsweeper.cabot.co.uk) (82.68.80.136) by server-8.tower-36.messagelabs.com with SMTP; 7 Oct 2010 09:31:17 -0000 Received: from CABOTUKEXCH01.cabot.local (unverified) by mailsweeper.cabot.co.uk (Content Technologies SMTPRS 4.3.19) with ESMTP id ; Thu, 7 Oct 2010 10:31:23 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: How do I enforce a minimum client version when hosted via httpd Date: Thu, 7 Oct 2010 10:31:15 +0100 Message-ID: <4B6F0239C13D0245820603C036D180BCBABA37@CABOTUKEXCH01.cabot.local> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How do I enforce a minimum client version when hosted via httpd Thread-Index: Actl+elPI/L9YVyaTY2ceZmC/zB2mwABaNvQ References: From: "Jon Foster" To: "Stephen Connolly" , X-Virus-Checked: Checked by ClamAV on apache.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.3.5 (giant.haxx.se [80.67.6.50]); Thu, 07 Oct 2010 11:31:56 +0200 (CEST) X-Friend: Nope Hi, Stephen Connolly wrote: > I remember reading before about a hack/trick that allows you > to ensure that the client is at least mergeinfo aware when the > repository is served via Apache httpd. You can have a start-commit hook. It can reject commits from clients that don't have the "mergeinfo" capability. http://svnbook.red-bean.com/en/1.5/svn.ref.reposhooks.start-commit.html > A better trick would allow blocking clients less than 1.6.13 from connecting ;-) Subversion sends it's version in the User-Agent string. You can test that in your Apache config file. (But this is probably a bad idea unless it's an internal SVN server that's locked down by corporate policy). http://httpd.apache.org/docs/2.2/howto/access.html#env Bear in mind that some people may not be using the official Subversion client. Kind regards, Jon ********************************************************************** This email and its attachments may be confidential and are intended solely= for the use of the individual to whom it is addressed. Any views or opini= ons expressed are solely those of the author and do not necessarily repres= ent those of Cabot Communications Ltd. If you are not the intended recipient of this email and its attachments, y= ou must take no action based upon them, nor must you copy or show them to = anyone. Cabot Communications Limited Verona House, Filwood Road, Bristol BS16 3RY, UK +44 (0) 1179584232 Co. Registered in England number 02817269 Please contact the sender if you believe you have received this email in e= rror. ********************************************************************** ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email=20 ______________________________________________________________________