Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > fastcgi Access Checking

Thread Tools

fastcgi Access Checking

Robin Becker
Posts: n/a
I'm trying to do FastCgiAccessChecker with a django project; the base idea is to
use the django controlled logins to control access to an apache down load area.

My original idea was to make django responsible for the FastCgiAccessChecker
script itself since we're running django as an external fcgi socket server using

I managed to get apache to accept the long running socket server as the
FastCgiAccessChecker, but all attempts at using the access check seem to fail
with some kind of fastcgi protocol error

.......server.fcgi" aborted: protocol error: invalid FCGI_END_REQUEST status: 3

it seems that 3 refers to a bad role, but I'm not sure who is detecting this

Any ideas welcome. I ask here because my queries elsewhere have vanished.

I should add that I have two solutions to the problem of getting the validation
done, but both involve extra fcgi scripts. One imports django and does the
checking directly, the second uses urllib2 to forward the validation request
using the original django http application.
Robin Becker
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
fastcgi: how to accept HTTP requests, and return a result Python 0 07-06-2006 03:55 PM
Attempting to get lighttpd, fastcgi & python working Python 0 03-24-2006 07:34 PM
fastcgi jason_ Python 0 04-06-2005 05:50 AM
how to run FastCGI on IIS and Apachi? JeffLiu Python 0 07-12-2004 02:56 AM
running fastcgi on windows? wolf Python 1 02-21-2004 04:23 PM