Comment 7 for bug 948825

Revision history for this message
Tobi Schäfer (interface) wrote : Re: Loggerhead unable to serve as deamon behind apache

Confirming Annette’s report of serve-branches not working without --allow-writes switch:

# serve-branches /opt/source/bzr &
[5] 15623
serving on 0.0.0.0:8080 view at http://127.0.0.1:8080
# curl -I localhost:8080
HTTP/1.0 404 Not Found
Server: PasteWSGIServer/0.5 Python/2.7.3
Date: Wed, 13 Jun 2012 10:16:48 GMT
content-type: text/html
Connection: close
# kill %5
[5] Terminated serve-branches /opt/source/bzr/

# serve-branches --allow-writes /opt/source/bzr &
[5] 15662
serving on 0.0.0.0:8080 view at http://127.0.0.1:8080
# curl -I localhost:8080
HTTP/1.0 200 OK
Server: PasteWSGIServer/0.5 Python/2.7.3
Date: Wed, 13 Jun 2012 10:19:34 GMT
Content-Type: text/html
Connection: close