Loggerhead question

John Arbash Meinel john at arbash-meinel.com
Fri Oct 23 15:25:55 BST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


...

>> You can configure Apache to handle requests with "/.bzr/" in them itself
>> instead of passing them to Loggerhead.
> 
> I am not sure that is going to help -- unless I am missing something
> about Apache/Bazaar/Loggerhead (which is easily possible).
> 
> The problem at hand is when the URL http://xxxx/Bazaar/Flob is used from
> a bzr command, e.g. bzr info, bzr branch, then it works as it does now,
> but when the same URL is used from a browser then all the requests are
> forwarded to Loggerhead.  This means the switching has to be on the
> accessor not on the URL.
> 
> The problem being solved here is that currently when people look at
> http://xxxx/Bazaar/Flob with a browser there are no entries because the
> branches have no working trees and the .bzr directory doesn't show.  The
> idea is to get Loggerhead to do the needful but without disturbing the
> current branch access.

So while you browse to "http://xxx/Bazaar/Flob" the first thing Bazaar
does is access "http://xxx/Bazaar/Flob/.bzr/branch-format". (or possibly
.bzr/smart)

So you can tell Apache to handle ".bzr/*" itself, but to pass off
everything else in that URL space to Loggerhead. Or even better, you can
tell Apache to handle everything under ".bzr/" except for ".bzr/smart".

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrhvPMACgkQJdeBCYSNAAM+1QCg1lEeIyRDD91DJfbrkiPXXXuT
wl0AoMS3e8oi/R7ibdBXuIuwQu3Ym4xI
=4lHg
-----END PGP SIGNATURE-----



More information about the bazaar mailing list