mod-wsgi Questions

5

Solved

I'm very new to working with Flask- according to http://flask.pocoo.org/docs/0.12/deploying/mod_wsgi/ under the heading "Working with Virtual Environments" I read: For Python 3 add the follo...
Wolof asked 8/3, 2017 at 2:14

4

Solved

I've got a string from an HTTP header, but it's been escaped.. what function can I use to unescape it? myemail%40gmail.com -> [email protected] Would urllib.unquote() be the way to go?
Jennettejenni asked 23/4, 2009 at 4:36

41

Solved

I've been developing a Django web application deployed on an Apache server with WSGI, and everything has been going smoothly. Today, I made some minor changes to my app's admin.py in an attempt to ...
Trochilus asked 23/11, 2014 at 20:11

3

Solved

Problem I'm trying to install Python 3 with the --enable-shared option. Installation "succeeds" but the resulting Python is not runnable. Trying to run Python after installation gives the followin...
Triolein asked 10/6, 2016 at 21:19

7

Solved

I've been following Sentdex' Flask tutorial. He's using a Venv to set up his Flask, but didn't set his Python up to work with a Venv. I've tried installing Flask globally - yet it still doesn't wor...
Fundamentalism asked 5/2, 2017 at 10:32

10

I have a site that runs with follow configuration: Django + mod-wsgi + apache In one of user's request, I send another HTTP request to another service, and solve this by httplib library of python...
Invoice asked 2/12, 2009 at 18:36

1

I'm getting an error when I deploy Django 3.0.5 under mod_wsgi: AttributeError: 'HttpResponse' object has no attribute '_resource_closers'. I'm running: Python: 3.6.8 Django: 3.0.5 Apache: 2.4.6 ...
Catechist asked 18/4, 2020 at 20:42

1

So I am running out of things I can possibly check for, I've made sure my Python, as well as Apache, are both 64 bit, python is a system-wide install, and I've uninstalled the 32 bit version before...
Harvison asked 18/3, 2020 at 3:41

1

Solved

I'm trying to deploy a very simple Flask app that appears in this tutorial for testing login capabilities in a flask app: https://www.digitalocean.com/community/tutorials/how-to-add-authentication-...
Borderland asked 9/5, 2023 at 20:26

5

Solved

I have developed a website in Django, and now it must go into production. This i want to do with mod_wsgi and apache2. Unfortunately i get the error 'Couldn't find package libapache2-mod-wsgi' when...
Hathorn asked 17/1, 2010 at 16:59

3

I am deploying a Django 1.10 project onto an Ubuntu server with Apache and mod_wsgi. I am getting the following 500 error which I can't solve: RuntimeError: Model class django.contrib.contentty...
Edvard asked 15/3, 2017 at 13:20

26

Solved

I can’t log in to the django admin page. When I enter a valid username and password, it just brings up the login page again, with no error messages This question is in the django FAQ, but I've gon...
Bootlace asked 10/8, 2012 at 2:45

3

Solved

Other similar answers are out of date or focus on a particular error and not the whole process. What is the full installation process of mod_wsgi into an Apache installation on Windows 10?
Claudicant asked 18/1, 2020 at 14:11

2

Install Version Apache apr-1.6.5 apr-util-1.6.1 httpd-2.4.7 mod_wsgi-4.6.8 pcre-8.32 Python 3.8.5 Django 3.1.2 Apache http.conf Listen 3600 WSGISocketPrefix /var/run/wsgi <VirtualHost *:36...
Aborticide asked 4/11, 2020 at 4:50

10

Solved

I recently migrated a python django application from a debian system to a redhat enterprise distribution. The application is hosted using httpd, mod_wsgi and running in a venv in an daemon process....
Eladiaelaeoptene asked 18/7, 2014 at 15:47

4

Solved

I am trying to make my Flask application work on CentOS server. Basically the issue is that I have Python 2.6 installed in /usr/bin which is system default and Python 3.4 installed in /usr/local/bi...
Scrimmage asked 12/12, 2014 at 19:45

3

Solved

Could anyone give me a clear set of instructions for installing mod_wsgi on Ubuntu for Python 3? I did get Flask & mod_wsgi successfully using Python3, and for a brief moment felt happy. ...u...
Yoong asked 5/6, 2015 at 19:49

8

Solved

It seems easy to get the From To Subject etc via import email b = email.message_from_string(a) bbb = b['from'] ccc = b['to'] assuming that "a" is the raw-email string which looks something l...
Thundercloud asked 26/7, 2013 at 6:25

4

I am having a little project and am trying to set up a website using Django, Apache 2 and mod_wsgi. Everything runs fine in the Django development server, and I can also open the front page of my s...
Solfatara asked 15/1, 2017 at 22:50

2

Solved

Environment: Mac OS X 10.8.5 Apache 2.2.26 Homebrew Python 3.3.3 Problem: I am trying to install mod_wsgi but first need to determine if Python was configured and compiled with the '--enable-s...
Bannerol asked 21/4, 2014 at 16:33

6

Solved

My Django app on my production server hosted on Webfaction was working fine until I just tried to restart it after pushing a change to the settings.py file. I ran apache2/bin/restart as usual. T...
Cyst asked 3/11, 2016 at 23:54

2

Solved

So I have a Flask application which I've been running on Flask's built-in server, and am ready to move it to production. This application manages several child processes. To this point, I've been h...
Alidaalidade asked 29/9, 2017 at 17:8

3

Solved

Encounter an error when using djangocms publishing page changes. when I ran tail -f /var/log/apache2/error.log, it returned: treebeard.exceptions.NodeAlreadySaved: Attempted to add a tree node that...
Colony asked 24/3, 2021 at 8:6

3

I'm using Python 3.4, and having created a pyvenv, I'm looking to activate it from within a python process. With virtualenv, I used to use activate_this.py, but that appears to be gone in pyvenv. ...
Christoforo asked 13/12, 2014 at 19:8

2

Solved

I am trying to install mod_wsgi in Windows 10. The command pip install mod_wsgi is giving me error, RuntimeError: No Apache installation can be found. Set the MOD_WSGI_APACHE_ROOTDIR environment ...
Eldoraeldorado asked 19/2, 2017 at 5:0

© 2022 - 2025 — McMap. All rights reserved.