Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2008 15:07:12 -0400
From:      "Douglas E. Warner" <silfreed@silfreed.net>
To:        freebsd-cvsweb@FreeBSD.org
Subject:   Using cvsweb as base path in virtualhost
Message-ID:  <200805141507.12671.silfreed@silfreed.net>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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@silfreed.net>    Site Developer
Mozdev.org           http://www.mozdev.org

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBIKzhgJV36su0A0xIRAsp5AKDtF2PS1boGfc3H+Cp6yPIWa6jgPgCdFAGH
CoQI1vIznjooxmIapSaULOY=
=nQrN
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805141507.12671.silfreed>