Run with fastcgi or scgi

Asked by Pigmej

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:
Revision history for this message
Michael Hudson-Doyle (mwhudson) said :

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.

Revision history for this message
Pigmej (me-pigmej) said :

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

Revision history for this message
Michael Hudson-Doyle (mwhudson) said :

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

Revision history for this message
Stefan Nuxoll (snuxoll) said :

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?

Revision history for this message
Joshua Gardner (cellofellow) said :

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?


Revision history for this message
Denis Martinez (deuns-martinez) said :

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.