kozea / flipflop Goto Github PK
View Code? Open in Web Editor NEWFastCGI/WSGI gateway
License: Other
FastCGI/WSGI gateway
License: Other
Some of us like to use Nginx, and right now the code itself is completely non-obvious as to how to get things running.
If, under Apache, a URL is rewritten using mod_rewrite before it triggers an FCGI script, flipflop logs an error message "WARNING: SCRIPT_NAME does not match REQUEST_URI". This clogs up Apache error logs.
Known issue in "flub". See: Janno/flup-py3.3#1
Hello!
When I tried to use your module I received following error message:
# /usr/bin/python3.3 helloapp.fcgi
Traceback (most recent call last):
File "helloapp.fcgi", line 7, in <module>
WSGIServer(app).run()
File "/usr/lib/python3.3/site-packages/flipflop-1.0-py3.3.egg/flipflop.py", line 938, in run
OSError: [Errno 88] Socket operation on non-socket
Where my file helloapp.fcgi
is:
#!/usr/bin/python3.3
from flipflop import WSGIServer
from helloflask import app
if __name__ == '__main__':
WSGIServer(app).run()
I'm using Python 3.3.4 version on the CentOS 32-bit machine.
PasteScript
contains functions to configure flup
with host/port or on-disk socket, and also allowed specifying a umask. These options are either not present or are obfuscated to the point of not being usable.
As a note: I plan on using flipflop
as the recommended production deployment connector in WebCore 2. :) (flup
itself not supporting Python 3 is a bit of a bummer)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.