Smart server fails: error reading data from FastCGI server
I am trying to setup a bzr smartserver atop Apache2 with the following configuration (simplified):
<VirtualHost *:80>
# +ExecCGI is allowed
# fcgid module handles *.fcgi files automatically
DocumentRoot /some/path
# in /some/path/bzr
<Location "/bzr">
# /some/path/
</Location>
</VirtualHost>
The file /some/path/
import trac.web._fcgi as fcgi # use the module packaged with
from bzrlib.
smart_
fcgi.
Every time I test the configuration, I get
$ bzr log bzr+http://
bzr: ERROR: Generic bzr smart protocol error: Invalid http response for http://
and in apache2's error.log:
[Mon May 07 16:33:41 2012] [warn] [client 111.222.111.222] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon May 07 16:33:41 2012] [error] [client 111.222.111.222] Premature end of script headers: bzr-smart.fcgi
Obviously, the script is run byt the fcgid module, but the execution somehow fails. How could I find out about the cause of that?
Thanks, Vaclav
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Václav Šmilauer for more information if necessary.