WSGI
How to avoid PHP exec() by using WSGI to execute a Python script?
Right now I am launching a Python script from PHP using exec() as I have to pass some dynamic variables from the website/MySQL to the command line. However, I would like to improve both the speed and[详细]
2023-02-08 19:07 分类:问答How do I do logging in a WSGI application across several processes?
I have a simple webservice written in Python WSGI, it\'s running in Apache and modwsgi using the WSGIDaemonProcess processes=4 directive.[详细]
2023-02-08 18:52 分类:问答Starting a long running process on a server from a WSGI application
I need to start a long running process (30 min) via http and get status as it\'s running. The \"process\" is basically a Python script that updates a database. I have the following constraints:[详细]
2023-02-08 18:37 分类:问答How can you setup multiple WSGI apps on one server?
I\'m working on a python based server product where a user can install WSGI-based python apps on their server. I can enforce any restriction on the application structure or format to make this easy.[详细]
2023-02-08 16:13 分类:问答Segfault running OpenCV under Apache / WSGI with python bindings
I\'ve got a django app that uses OpenCV for image proces开发者_如何学Gosing and I\'m running into problems deploying it in production.I can run the app just fine directly from python or using manage.p[详细]
2023-02-07 06:29 分类:问答Creating a Pylons Thread with Access to app_globals
I\'d like to create a process that runs in the background of my pylons environment, unbound to client requests, with access to the pylons app_globals object. The general purpose of the process is to c[详细]
2023-02-05 20:22 分类:问答WSGI Middleware for OAuth authentication
I have build a very small web application using Flask. Now I would like to add very basic authentication to the site (I don\'t need authorization). As Flask does not support auth&auth out of the b[详细]
2023-02-04 12:08 分类:问答Django WSGI daemon mode synchronization of requests
Running appache2 with the following /etc/httpd.conf: <VirtualHost *:80> WSGIDaemonProcess myapp user=pq group=pq processes=2 threads=1[详细]
2023-02-04 02:14 分类:问答Multiple Logging files (per WSGI project) in Apache under the same VirtualHost
I\'m currently running a setup where different projects 开发者_JAVA技巧are served according to URL:[详细]
2023-02-04 01:27 分类:问答How do I use Tipfy and wsgi_intercept together for testing?
I\'m creating an API using Tipfy. I have an existing suite that tests some methods I will expose via URL, but what I\'d like to do is see exactly how these functions will work once they\'re exposed. I[详细]
2023-02-03 18:40 分类:问答