From owner-freebsd-cvsweb@FreeBSD.ORG Sun Aug 31 12:47:29 2003 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03B2E16A4C0 for ; Sun, 31 Aug 2003 12:47:29 -0700 (PDT) Received: from smtp3.pp.htv.fi (smtp3.pp.htv.fi [213.243.153.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DF1443FF3 for ; Sun, 31 Aug 2003 12:47:27 -0700 (PDT) (envelope-from scop@FreeBSD.org) Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by smtp3.pp.htv.fi (Postfix) with ESMTP id 530BD27B0B8 for ; Sun, 31 Aug 2003 22:47:26 +0300 (EEST) Received: from cs78130147.pp.htv.fi (cs78130147.pp.htv.fi [62.78.130.147]) by posti.pp.htv.fi (8.11.1/8.11.1) with ESMTP id h7VJlP520863 for ; Sun, 31 Aug 2003 22:47:25 +0300 (EETDST) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@FreeBSD.org In-Reply-To: <000701c36fde$5e8fa180$0b01a8c0@pluto> References: <000701c36fde$5e8fa180$0b01a8c0@pluto> Content-Type: text/plain Organization: FreeBSD Message-Id: <1062359245.24993.115.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 (1.4.4-0.vs.1) Date: Sun, 31 Aug 2003 22:47:25 +0300 Content-Transfer-Encoding: 7bit Subject: Re: Hiding the 'cvsweb.cgi' from the address X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list [restricted posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2003 19:47:29 -0000 On Sun, 2003-08-31 at 19:38, Rory Vieira wrote: > Hi, > > I have successfully installed cvsweb.cgi on my Linux server. > I've put the script in /var/www/cvs, and the config in /etc/apache > Apache uses the following directives: > > Alias /cvs/ /var/www/cvs/ > > Options ExecCGI > DirectoryIndex cvsweb.cgi > > > I would like the browser to stick with the http://www.mysite.com/cvs/ url > instead of http://www.mysite.com/cvs/cvsweb.cgi. > Does anyone have an idea on how to solve this? How about installing cvsweb.cgi as /var/www/cvs (ie. a executable file under /var/www/) and using the following Apache config snippet? SetHandler cgi-script Options ExecCGI [rest of your options here]