Questions tagged [wsgi]

Web Server Gateway Interface is a specification for web servers and application servers to communicate with web applications. It is a Python standard, described in detail in PEP 333.

WSGI is the Web Server Gateway Interface. It is a specification for web servers and application servers to communicate with web applications (though it can also be used for more than that). It is a Python standard, described in detail in PEP 333.

124 questions
0
votes
1 answer

Nginx: Cache uWSGI as accessible files

I'm still pretty new to Nginx, but I know that it serves static files very well. For this reason I want to use Nginx together with TileStache as a map server. TileStache has got a WSGI application that should work well with Nginx's uWSGI module…
Ivar
  • 121
  • 1
  • 6
0
votes
1 answer

Deploying django for lot of sites with low traffic

Possible Duplicate: Can you help me with my capacity planning? I am looking for advice for our web server configuration. SaaS model startup (same app, different databases and subdomains). Serving 50+ sites right now. Dedicated server with 8GB…
quarry32
  • 255
  • 1
  • 11
0
votes
1 answer

Different settings for secure & non-secure versions of Django site using WSGI

I have a Django website where some of the URLs need to be served over HTTPS and some over a normal connection. It's running on Apache and using WSGI. Here's the config: ServerName example.org DocumentRoot…
Jordan Reiter
  • 1,260
  • 4
  • 17
  • 38
0
votes
1 answer

Getting uWSGI up and running correctly

I've just started with wsgi and am trying to get a simple uwsgi server up and running. I've set up a virtualenv environment and activated it. Inside lib I have a file hello.py with the contents: def application(environ, start_response): status =…
Mediocre Gopher
  • 803
  • 1
  • 12
  • 24
0
votes
1 answer

Serve PHP page mapped as part of Django's (Python's) virtualhost

I have a question similar to this: Apache : Map one virtualhost to a subdirectory of another virtualhost Except mine is about serving PHP within Django's domain like that: example.com serves Django, uses WSGI etc., example.com/some_app needs to be…
Tadeck
  • 119
  • 7
0
votes
1 answer

WAMP Server not working when I add a directory directive

I am attempting to put WSGI (python) on a WAMP server (Apache 2.2.21, Python 2.7, WAMP 2.2a). Unfortunately, when i add just a simple directory directive and restart, Apache won't start. here is the code: LoadModule wsgi_module…
0
votes
1 answer

Best place to host a moderately CPU intensive Django WSGI app

I recently made a web app with Django, and (in development mode, where I've been using it), it works great. I'm an academic and need to quickly find hosting for my app somewhere so that I can submit my paper. The app uses Celery (a task…
user
  • 103
  • 2
0
votes
2 answers

uWSGI Virtualhost mode with touch-reload

So far I have been experimenting with uWSGI to replace a lot of kludgy server code that builds and does setup for Python wsgi applications under supervise. I am running dozens of these small projects (Django, Flask, other) at once. Currently I am…
Xealot
  • 103
  • 4
0
votes
2 answers

How to speed up request/response to django using apache or another solution?

I'm mainly a developer, but every now and again I jump into the sys-admin position. For the most part I've gotten away with deploying php and python apps using apache. I write today because I'm starting to research faster alternatives to apache,…
jbcurtin
  • 115
  • 4
0
votes
1 answer

Cant start uwsgi in ubuntu 10.10

When I run "/etc/init.d/uwsgi start" nothing happens, the terminal just gives me a new line and no output. There is no sign of uswsgi in ps aux as well and /var/log/uwsgi.log is empty I'm folowing this…
Victor
  • 11
  • 3
0
votes
2 answers

Nginx ModWsgi Bad?

I was thinking of deploying Nginx with mod_wsgi. However I read this blog: http://blogg.ingspree.net/blog/2007/11/24/nginx-mod-wsgi-vs-fastcgi/ In here the author of mod_wsgi for nginx says that the very few worker threads can be blocked for a…
Unknown
  • 1,675
  • 6
  • 20
  • 27
0
votes
2 answers

How would I specify a particular settings.py file in a wsgi file?

I'm a complete newbie to Python and Django but have a need to set up a website. What commands/parameters would I add to a file of type *.wsgi that could specify a particular settings.py file in the context of Django? Thanks!
John
  • 157
  • 5
0
votes
1 answer

WSGIScriptAlias seems to disable apache ssl

I have a django app that I'm trying to serve over a secure connection. Apache's ssl engine and my certificate are definately working, as my static media is served over a secure connection. However when a request comes from django, firefox suddenly…
DaedalusFall
  • 197
  • 2
  • 12
0
votes
0 answers

Nginx Uwsgi Configuration For Openstack

Hello I am trying to install openstack keystone module on top of nginx in Ubuntu Server. in apache2 it's an easy process u just run apt install apache2 libapache2-mod-wsgi-py3 keystone and the wsgi config file will be automatically created in…
0
votes
0 answers

angular and wsgi-flask on apache

0 I can't run both wsgi and angular on apache at the same time. Although if you remove or wsgi or angular from the example.com.conf file, then they work, but if they are together, then they don’t. help solve the problem centos 7
1 2 3
8
9