From owner-freebsd-cvsweb@FreeBSD.ORG Fri May 16 01:14:04 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 DA872106566B for ; Fri, 16 May 2008 01:14:04 +0000 (UTC) (envelope-from daniel.leidert.spam@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 507488FC1E for ; Fri, 16 May 2008 01:14:03 +0000 (UTC) (envelope-from daniel.leidert.spam@gmx.net) Received: (qmail invoked by alias); 16 May 2008 00:47:22 -0000 Received: from dslb-088-075-000-154.pools.arcor-ip.net (EHLO leidi.wgdd.de) [88.75.0.154] by mail.gmx.net (mp049) with SMTP; 16 May 2008 02:47:22 +0200 X-Authenticated: #17381962 X-Provags-ID: V01U2FsdGVkX1+5bhJIwRm53vguNmnuIxm7s6yBpe8A43ISEQLLy8 YPrxJA/013R4gp Received: from localhost ([127.0.0.1]) by leidi.wgdd.de with esmtp (Exim 3.36 #1 (Debian)) id 1Jwo6T-0004WO-00; Fri, 16 May 2008 02:47:21 +0200 From: Daniel Leidert To: noackjr@alumni.rice.edu In-Reply-To: <57219.192.168.1.10.1210872509.squirrel@www.noacks.org> References: <57219.192.168.1.10.1210872509.squirrel@www.noacks.org> Content-Type: text/plain Organization: TU Dresden Date: Fri, 16 May 2008 02:47:21 +0200 Message-Id: <1210898841.15558.17.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1.1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-cvsweb@freebsd.org, "Douglas E. Warner" Subject: Re: Using cvsweb as base path in virtualhost X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2008 01:14:04 -0000 Am Donnerstag, den 15.05.2008, 13:28 -0400 schrieb Jonathan Noack: > On Thu, May 15, 2008 09:50, Douglas E. Warner wrote: > > On Thursday 15 May 2008 00:08:36 Jonathan Noack wrote: > >>> 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. > > > > Thanks for the response. Unfortunately in my current setup the main page > > didn't work without the first line. > > > > I was able to simplify the apache configuration by trying this: > > > > ScriptAlias / /path/to/cvsweb.cgi/ > > > > But unfortunately I still get the strange redirection. > > > > I forgot to mention previously that I'm using cvsweb 3.0.6. > > Doug, > I found the issue with using CVSweb as the base path. There is some old > code in to work around "thttpd stupidity". This is tripping the redirect > code and causing the strange behavior. Please try the attached patch to > cvsweb.cgi. It should work with your current ScriptAlias line; if not, > try this one: > ScriptAliasMatch ^(.*) /path/to/cvsweb.cgi$1 > > I'll need to test with recent thttpd versions before rolling this into a > new release. Hi Jonathan, Because wer (Debian) have another patch, that affects this code, you maybe want to take a look at it and decide, if you want to include it? http://vcs.wgdd.de/websvn/wsvn/packages/cvsweb/trunk/debian/patches/02_allow_cgiless_execution.dpatch?op=file&rev=0&sc=0 http://bugs.debian.org/247452 This is probably, what the user wants (if I take a look at the bug report). Regards, Daniel > Regards, > -Jonathan > _______________________________________________ freebsd-cvsweb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-cvsweb To unsubscribe, send any mail to "freebsd-cvsweb-unsubscribe@freebsd.org"