Questions tagged [mod-wsgi]

The mod_wsgi module is a python WSGI adapter module for Apache.

The mod_wsgi module is a python WSGI adapter module for Apache. For details on the official channel for getting mod_wsgi help, see http://modwsgi.readthedocs.io/en/develop/finding-help.html.

3241 questions
1
vote
2 answers

Error while uploading Django project to a Apache server via mod_wsgi

I created a droplet(cloud server) on DigitalOcean and with no-ip.com I gave it the hostname - project.ddns.net.By ssh(ing) into the droplet I installed pip and virtualenv. Inside /var/www/ I created a virtualenv and cloned the repository from github…
akg
  • 670
  • 10
  • 30
1
vote
1 answer

Django project not working with Apache and mod-wsgi

I created a droplet(cloud server) on DigitalOcean and with no-ip.com I gave it the hostname - project.ddns.net.By ssh(ing) into the droplet I installed pip and virtualenv. Inside /var/www/ I created a virtualenv and cloned the repository from github…
akg
  • 670
  • 10
  • 30
1
vote
1 answer

Calling sys.stderr.fileno(), after checking it is a python callable(), raises an AttributeError?

This is really stumping me... Here is the nub of the issue: if hasattr(sys.stderr, 'fileno'): if callable(sys.stderr.fileno): i = sys.stderr.fileno() When this statement executes, the 2 conditions pass, BUT the call to fileno() bombs…
powderflask
  • 371
  • 1
  • 12
1
vote
0 answers

Unstable loading time when using mod_wsgi on Windows

My system has following version of software installed: httpd 2.4.16 win64 Python 3.4.3 amd64 mod_wsgi 4.4.13 ap24vc10 cp34 none win amd64 I have created two environment using virtualenv for two Django projects(just default It worked! page) one…
Balakrishnan
  • 2,403
  • 2
  • 26
  • 47
1
vote
1 answer

How to use Cloudflare's free SSL to force https on my Django application on Apache+mod_wsgi stack?

I wanted to use the free SSL (DNS) service provided by Cloudflare in my Django Application running on Apache + mod_wsgi stack. I can find setup examples for Nginx + uWSGI stack, but not for Apache + mod_wsgi stack so far. I was following this answer…
1
vote
1 answer

Apache/Wsgi - Script timed out before returning headers

I have a problem with Apache/wsgi on Ubuntu. I'm trying to serve a django site. I have already read all same issues on SO and other websites but i really can't fix it. I got the same problem as other member. After 2 - 3 minutes the request ends with…
1
vote
2 answers

Internal Server Error: Target WSGI script cannot be loaded as Python module AND IOError: [Errno 2] No such file or directory: 'client_secrets.json'

I am trying to run a Linux server configuration for a catalog project. I am using: Apache2, Flask, and SQLAlchemy and I had to install and configure PostgreSQL. The site I am trying to run is the Public IP Address: http://52.27.140.219/. I am happy…
1
vote
1 answer

deploy django under apache mod_wsgi waiting for localhost

I am deploying a Django project on Apache. and after configuration, I open the "localhost" in the browser, and nothing showed up and the status bar just keep saying "Waiting for localhost". Here is some info. Environment: OS: ubuntu Python:…
JcBobo
  • 63
  • 7
1
vote
1 answer

Complex Python Bottle App + WSGI

I have a python bottle application inside of a single folder that's been organized by function and I would like to convert my existing cherrypy usage over to apache mod_wsgi. The folder structure looks like the following: - project -- app.py (loads…
Famous Food Finder
  • 273
  • 1
  • 3
  • 8
1
vote
2 answers

how to improve the performance of Apache with mod_wsgi?

Use Apache/2.4.12(Unix) and mod_wsgi-4.4.11 and blow configuration of apache/conf/extra: //httpd-mpm.conf StartServers 3 MinSpareThreads 75 MaxSpareThreads 250 …
ash84
  • 787
  • 3
  • 12
  • 33
1
vote
2 answers

What sort of Python work on Windows stops mod-wsg/Apache's ability to deal with multiple requests?

I'm utilizing a Apache + mod-wsgi + django setup on Windows with python 2.7. It seems that the only setup that is possible on Windows for mod-wsgi is having 1 process with many child worker threads. Because of this, it seems that some work may be…
Ringil
  • 6,277
  • 2
  • 23
  • 37
1
vote
2 answers

How to put Django within a subdirectory of a website?

I want to run WordPress at mysite.com/, because it's easier to edit sales copy and such. I want to run my Django site within mysite.com/members/ httpd.conf: ServerName mysite.com ServerAlias www.mysite.com DocumentRoot…
User
  • 23,729
  • 38
  • 124
  • 207
1
vote
0 answers

Running django project using mod_wsgi on aws

I have deployed a django project on aws. i am using apache2 server and mod_wsgi. After executing the command $ python manage.py runmodwsgi --host xxx.xxx.xxx.xxx it gives an output Server URL : http://xxx.xxx.xxx.xxx:8000/ Server Root …
ankit
  • 1,499
  • 5
  • 29
  • 46
1
vote
1 answer

Deploy Flask app on Apache Server using mod_wsgi and WinSCP

I want to deploy my Flask application on an Apache server. I have an account on the server, and have been told that "The server can be used to run scripts and web apps written in Python (using django and mod_wsgi)". I am on Windows, and to transfer…
gbhrea
  • 494
  • 1
  • 9
  • 22
1
vote
0 answers

Permission Error with WSGI while Setting up Apache with Django

PermissionError: [Errno 13] Permission denied: '/path/.virtualenvs/django_project/bin/activate_this.py' Recently I am trying to get django to work with apache through wsgi. After setting all the configurations, I ran into the above problem. Does…
Mox
  • 2,355
  • 2
  • 26
  • 42
1 2 3
99
100