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
--nextPart1783906.ad2ysLzhtT
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I'd like to use cvsweb as the base path of a virtualhost; ie, have=20
http://cvsweb.example.org instead of doing something like=20
http://www.example.org/cvsweb.

I've tried setting up the following ScriptAliasMatch, but I'm getting a=20
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=20
browser interprets as http://module/ since I'm browsing via HTTP.

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

=2DDoug

=2D-=20
Douglas E. Warner    <silfreed@silfreed.net>    Site Developer
Mozdev.org           http://www.mozdev.org

--nextPart1783906.ad2ysLzhtT
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

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

--nextPart1783906.ad2ysLzhtT--



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