maintain a constant mapping in vhost mode

This commit is contained in:
roberto@debian32
2011-06-17 17:54:49 +02:00
parent 27e2d984ce
commit 0c0c2736a7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ int init_uwsgi_app(int loader, void *arg1, struct wsgi_request *wsgi_req, PyThre
}
if (uwsgi.vhost && wsgi_req->host_len > 0) {
if (uwsgi.vhost) {
mountpoint = uwsgi_concat3n(wsgi_req->host, wsgi_req->host_len, "|", 1, wsgi_req->script_name, wsgi_req->script_name_len);
}
else {