Using cvsweb as base path in virtualhost

Jonathan Noack noackjr at alumni.rice.edu
Thu May 15 04:08:43 UTC 2008


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



More information about the freebsd-cvsweb mailing list