Using cvsweb as base path in virtualhost

Douglas E. Warner silfreed at silfreed.net
Wed May 14 19:07:17 UTC 2008


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

Browsing to http://cvsweb.example.org and http://cvsweb.example.org/ works.
Browsing to http://cvsweb.example.org/module works (no trailing slash - odd).
Browsing to http://cvsweb.example.org/module/ redirects to //module/ which my 
browser interprets as http://module/ since I'm browsing via HTTP.

Any ideas why this is happening and if there is a workaround?

-Doug

-- 
Douglas E. Warner    <silfreed at silfreed.net>    Site Developer
Mozdev.org           http://www.mozdev.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-cvsweb/attachments/20080514/b88e5393/attachment.pgp


More information about the freebsd-cvsweb mailing list