[ANNOUNCE] webserve 0.12

Goffredo Baroncelli kreijack at tiscalinet.it
Fri Nov 17 21:15:11 GMT 2006


On Friday 17 November 2006 21:49, Jan Nieuwenhuizen wrote:
> Bob Tanner <tanner at real-time.com> writes:
> 
> >> A problem occurred in a Python script. Here is the sequence of function
> >> calls leading up to the error, in the order they occurred.
> >> /var/www/cgi-bin/webserve-dir.cgi
> >> 42 from bzrlib.plugins.webserve import hgweb <--- Error here
> >> 44 config = "/etc/bazaar-webserve.conf"
> >> 
> >
> > The problem is running python as the www-data user (which is what debian
> > uses). Not sure why.
> 
> I get a bit further by cheating
> 
>     #from bzrlib.plugins.webserve import hgweb
>     sys.path.insert(0, '/home/janneke/.bazaar/plugins/webserve')
>     import hgweb
> 
> but then my configured repository is not found, I have
> 
>     [yaffut]
>     author = Rutger van Beusekom
>     name  = Yaffut
>     description = yaffut.bzr main branch
>     email = email at adrress
>     path = /var/www/vc/yaffut.bzr
>     tararchive = 1
> 
> When I click on `log' for the yaffut entry, Apache says
> 
> [Fri Nov 17 21:39:36 2006] [error] [client 192.168.2.102] File does not 
exist: /
> home/janneke/.bazaar/plugins/webserve/yaffut, referer: http://peder/bzrweb/
> 
> Jan.
> 

It seems that you dont' have set a correct alias.

In the apache configuration file you have to set an alias like

   Alias /bzrweb /home/janneke/.bazaar/plugins/webserve/webserve-dir.cgi

Could you post the apache configuration ( only the part which you have changed 
to set the bazaar web interface )

-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack at inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87  87C0 BB86 505C 6B2A CFF9




More information about the bazaar mailing list