Date: Thu, 15 May 2008 00:08:36 -0400 (EDT) From: "Jonathan Noack" <noackjr@alumni.rice.edu> To: "Douglas E. Warner" <silfreed@silfreed.net> Cc: freebsd-cvsweb@freebsd.org Subject: Re: Using cvsweb as base path in virtualhost 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53502.192.168.1.10.1210824516.squirrel>