Run with fastcgi or scgi

Asked by Pigmej on 2008-09-14

Is its possible to run Loggerhead 1.6 using fastcgi or scgi ?

How can i do that?

Thanks for answers

Question information

English Edit question
loggerhead Edit question
No assignee Edit question
Last query:
Last reply:

This question was reopened

This question has the same answer as the question "can you run wsgi applications using fastcgi or scgi" -- unfortunately I don't know the answer to that one either.

Pigmej (me-pigmej) said : #2

I can use a FastCGI/WSGI gateway. I need to import WSGI application object of loggerhead. Can you tell me how its named ?

It depends how you configure and start loggerhead -- I suggest reading either the serve-branches or start-loggerhead script for hints.

Stefan Nuxoll (snuxoll) said : #4

I'm curious if you got this to work, the lack of any other choice when it comes to bzr web interfaces really bites, and loggerhead can't be used in a shared hosting enviornment without a fastcgi wrapper. Maybe this should be converted to a bug?

Joshua Gardner (cellofellow) said : #5

While I don't know how to get this to work (I have this same question), I do know that python-flup is a way to serve WSGI apps via FCGI and SCGI. Django uses flup for its FCGI/SCGI implementation (django-admin runfcgi). Maybe flup is a way to get Loggerhead to work with FCGI/SCGI.

I'd really like to have it be able to do so as I want to get loggerhead to operate through a Cherokee webserver, which does not support mod_python or mod_wsgi, but only CGI, FCGI, and SCGI for scripting. It works astoundingly well with PHP via FastCGI, and Django with SCGI, so why not Loggerhead?


I have written a modified startup script that is able to run Loggerhead on cherokee, in SCGI mode (it uses flup). See the related bug (#447609).

Can you help with this problem?

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

To post a message you must log in.