Run a public and private loggerhead config on one server

Asked by Eric Ferraiuolo

Just got loggerhead working today for a private repository on my VPS (which has only 256mb or RAM). It's sitting behind an Apache 2 proxy with SSL and Basic Auth turned on.

I also, on the same server, have a public bzr repo which I would also like to expose a loggerhead front-end to. I'm wondering what the best approach is to having separate loggerhead exposing two repos, one public, and one private.


I currently have the /etc/init.d/loggerhead script that will start a start-loggerhead process using the /etc/loggerhead.conf for it's configuration. Is there a way using just configuration to expose two separate loggerhead—views of a repository? The reason I'm stressing public and private is that the public loggerhead URL can not expose anything in the private repo.

I'm hoping there would be a way to do this without having running two start-loggerhead processes on the machine with their own config as I've notice this process sucks up 15%-20% of my VPS' memory.

Any insights or suggestions to this would be appreciated.

Question information

English Edit question
loggerhead Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Hudson-Doyle (mwhudson) said :

Sorry for leaving this for so long.

If you use a serve-branches based approach, you can do something like have both "private" and "public" directories in /srv/bzrroot and proxing to localhost:8080/private and to localhost:8080/public. There's no way of doing this through pure configuration for a start-loggerhead approach, although it would be possible with some coding.

Can you help with this problem?

Provide an answer of your own, or ask Eric Ferraiuolo for more information if necessary.

To post a message you must log in.