Using loggerhead with the same URL as an bzr+http repository

Matt Nordhoff mnordhoff at
Tue Dec 9 16:50:43 GMT 2008

Lionel Dricot wrote:
> Hello,
> I'm using my bzr+http repository in a subfolder of my server. (
> http://server/bzr/ ) Unfortunatly, I cannot add a virtualhost (this is
> on an intranet and I don't have the right to add a subdomain).
> The branches are physically located in /server/www/bzr/ as subfolder.
> I also have loggerdhead running on http://server:8080/
> I want to have loggerhead available on http://server/bzr/
> I'm a bit lost with mod_proxy and I want to keep the
> branching/push/pulling on the same address than the loggerhead interface
> (to not confuse my users)
> How can I do that ? Is there anybody with a similar setup ?
> I thought that
> would help but it happens that nothing work for me on this page.
> Thanks in advance,
> Lionel

Actually, the config sample on that page does show how to do it: You
need to configure your web server like this:

* Send requests ending with "/.bzr/smart" to the smart server.
* All other requests containing "/.bzr/" or ending with "/.bzr" should
be handled like any other static file.
* Send all other requests to Loggerhead.

How you configure that is another matter. That gnome page shows how for
Apache; anyway, it should be a pretty simple matter.

More information about the bazaar mailing list