added welcome.ini

This commit is contained in:
roberto@debian32
2011-08-28 08:33:49 +02:00
parent 1996305eb1
commit f88f51c553
6 changed files with 18 additions and 2 deletions
+2
View File
@@ -0,0 +1,2 @@
[uwsgi]
show-config = true
+1 -1
View File
@@ -855,7 +855,7 @@ char *uwsgi_pythonize(char *orig) {
name[i] = '_';
}
else if (name[i] == '/') {
name[i] = '.';
name[i] = '_';
}
}
-1
View File
@@ -27,7 +27,6 @@ void *uwsgi_request_subhandler_wsgi(struct wsgi_request *wsgi_req, struct uwsgi_
Py_DECREF(pydictvalue);
}
if (wsgi_req->uh.modifier1 == UWSGI_MODIFIER_MANAGE_PATH_INFO) {
wsgi_req->uh.modifier1 = 0;
pydictkey = PyDict_GetItemString(wsgi_req->async_environ, "SCRIPT_NAME");
+1
View File
@@ -766,6 +766,7 @@ next:
wsgi_req->var_cnt++;
script_name = wsgi_req->var_cnt;
}
for(i=0;i<uwsgi_apps_cnt;i++) {
//uwsgi_log("app mountpoint = %.*s\n", uwsgi_apps[i].mountpoint_len, uwsgi_apps[i].mountpoint);
if (orig_path_info_len >= uwsgi_apps[i].mountpoint_len) {
+5
View File
@@ -0,0 +1,5 @@
import uwsgi
print(uwsgi.opt)
print(uwsgi.magic_table)
from werkzeug.testapp import test_app as application
+9
View File
@@ -0,0 +1,9 @@
[uwsgi]
socket = :3031
socket = /tmp/uwsgi_welcome.socket
vacuum = true
module = welcome
master = true
processes = 4
mount = /werkzeug=tests/werkzeug.py
manage-script-name = true