bazaar-webserve for Debian ========================== This document describes some of the ways that bazaar-webserve can be configured. You can also see /usr/share/doc/README.txt for more information. There are some examples in /usr/share/doc/bazaar-webserve/examples that might help you as well. There are 3 modes of operation. 1. bzr serve command. 2. CGI for a single branch. 3. CGI for arbitrary branches. These are some brief notes on the 3 methods ------------------------------------------- 1. bzr serve command. Running bzr serve in a branch sets up a standalone serve that can be used to access that branch using a webserver. See the output of bzr help serve for more information. 2. CGI for a single branch. This involves getting your webserver to serve the branch as normal, and then configuring it to use webserve.cgi as the index file for that directory. Then if the cgi script is copied in to the branch it will show its interface to the user when they browse to that directory. See /usr/share/doc/bazaar-webserve/examples/apache.single.conf for an apache snippet that might help you. 3. CGI for arbitrary branches. To do this you need to configure your webserver to serve /usr/share/bazaar-webserve/cgi-bin/webserve-dir.cgi as a CGI script. Then it will serve all the branches from /etc/bazaar-webserve.conf. See apache.simple.conf and apache.vhost.conf in /usr/share/doc/bazaar-webserve/examples/ for some apache snippets that might help. -- James Westby , Thu, 31 Aug 2006 01:32:15 +0100