From owner-freebsd-cvsweb@FreeBSD.ORG Thu May 15 04:08:43 2008 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56FAE1065672 for ; Thu, 15 May 2008 04:08:43 +0000 (UTC) (envelope-from noackjr@alumni.rice.edu) Received: from smtp109.biz.mail.re2.yahoo.com (smtp109.biz.mail.re2.yahoo.com [206.190.53.8]) by mx1.freebsd.org (Postfix) with SMTP id DB7458FC0A for ; Thu, 15 May 2008 04:08:42 +0000 (UTC) (envelope-from noackjr@alumni.rice.edu) Received: (qmail 8157 invoked from network); 15 May 2008 04:08:38 -0000 Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@66.56.30.84 with login) by smtp109.biz.mail.re2.yahoo.com with SMTP; 15 May 2008 04:08:38 -0000 X-YMail-OSG: 7LnFAHEVM1lVEQ6zq23TR2wUFm.SXaD.4awzHIy9vulTRwRfK_ddHk1dK0WhFiMIiAaVkQx_u.RYkP2cNw.TGmEt0Bwi5_jVwwky6X41vtD8PeTyoq6KDwQf8rMPfPd3vMNExHyVCx3DduLDzRkYRiOy X-Yahoo-Newman-Property: ymail-3 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 45584628A; Thu, 15 May 2008 00:08:38 -0400 (EDT) X-Virus-Scanned: amavisd-new at noacks.org Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id a5yS+ZYH5rBL; Thu, 15 May 2008 00:08:36 -0400 (EDT) Received: from www.noacks.org (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id EFE426268; Thu, 15 May 2008 00:08:35 -0400 (EDT) Received: from 192.168.1.10 (SquirrelMail authenticated user noackjr) by www.noacks.org with HTTP; Thu, 15 May 2008 00:08:36 -0400 (EDT) Message-ID: <53502.192.168.1.10.1210824516.squirrel@www.noacks.org> In-Reply-To: <200805141507.12671.silfreed@silfreed.net> References: <200805141507.12671.silfreed@silfreed.net> Date: Thu, 15 May 2008 00:08:36 -0400 (EDT) From: "Jonathan Noack" To: "Douglas E. Warner" User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-cvsweb@freebsd.org Subject: Re: Using cvsweb as base path in virtualhost X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2008 04:08:43 -0000 On Wed, May 14, 2008 15:07, Douglas E. Warner wrote: > I'd like to use cvsweb as the base path of a virtualhost; ie, have > http://cvsweb.example.org instead of doing something like > http://www.example.org/cvsweb. > > I've tried setting up the following ScriptAliasMatch, but I'm getting a > strange redirection: > > ScriptAliasMatch ^/?$ /path/to/cvsweb.cgi > ScriptAliasMatch ^(.*) /path/to/cvsweb.cgi$1 You don't need the first ScriptAliasMatch line. The second is effectively a superset of the first. I use that exact syntax and it works correctly for me. Try commenting out the first line and see what happens. Regards, -Jonathan