Skip to main content

Questions tagged [mod-wsgi]

mod_wsgi is an easy to use Apache module that can host Python web applications which support the Python WSGI interface.

0 votes
0 answers
75 views

I currently have a configuration for a site running on Apache in Raspberry Pi, it is for a Flask App using the apache WSGI module. The intention is to have a single process, the need for a single ...
Marcos S's user avatar
1 vote
0 answers
136 views

We are running Rocky 9.4 with httpd 2.4.57-11 in MPM-Event, php(-fpm) 8.2 Usually, for our live webservers, when we change any config, we reload apache so there's no gap in service at all. Apache ...
Smock's user avatar
  • 180
1 vote
2 answers
471 views

I've found many similar articles with similar issues, and a couple of them concluded the Apache service just cannot be run at all for my situation. However I did get the service to run -- only it ...
JDM's user avatar
  • 13
0 votes
2 answers
2k views

I want to install Apache server module mod_wsgi on (Server version: Apache/2.4.56) Amazon Linux 2023 a Lightsail Instance. I have python3.9 and I tried with rpm it's showing error - Problem: ...
Shiv Sharma's user avatar
0 votes
0 answers
199 views

I have configured Apache 24 with mod_wsgi on windows 2016 server for my Django applications and deployed three websites with different IP addresses. I have also configured ssl certificates for each ...
Wogayehu's user avatar
1 vote
1 answer
807 views

Why does Apache with mod_wsgi force a download of .py files instead of executing them? I'm trying to run Django, but the first issue I have is .py files not executing. I'm following the docs here ...
BlueDogRanch's user avatar
1 vote
1 answer
1k views

We are trying to run 2 different flask applications with different domain names from same server using mod_wsgi + Apache2. This is the settings configured in httpd.conf # For www.yyy.com ...
Joel Divekar's user avatar
2 votes
0 answers
120 views

I have a rather large Mercurial web server (ie. running under hgweb.wsgi) that's outgrown the distribution it was built-on... which basically means that I've already started doing upgrades of Python, ...
RVT's user avatar
  • 407
0 votes
1 answer
561 views

out of the blue my virtual host config doesn't work anymore. So my setup sould be quite easy: On Port 80, I want to deliver two WSGI apps, and that's the .conf file I'm using: <VirtualHost *:80> ...
Standard's user avatar
2 votes
2 answers
3k views

In my previous question, I asked how to make mod_wsgi use a specific Python version. Following the answer from that question, I created a Python 3.9 virtual environment and made WSGI use it. However, ...
ThatCoolCoder's user avatar
6 votes
1 answer
9k views

I originally had Python 3.6 installed and working well with WSGI and Apache2 on my Linux server. Then I created a Flask app that had a dependency needing Python 3.7. I've successfully (and I think) ...
ThatCoolCoder's user avatar
1 vote
0 answers
125 views

I am trying to deploy a flask app on an Amazon EC2 instance. I have configured everything just fine but the website does not load. It remains stuck on the loading icon as follows: Website not loading ...
Pratheek Menon's user avatar
2 votes
0 answers
3k views

I have a problem with my mod_wsgi configuration. Sometimes, I think when there is a lot of traffic on my website, the page breaks and says "Resource temporarily unavailable..." Apache logs: ...
Tony's user avatar
  • 21
0 votes
0 answers
76 views

My coworkers are asking me why we are using the Centos 7.9 provided apache + mod_wsgi for the sake of Django 3.1.7 VERSUS hand assembling a custom build of either Centos 7.9's apache or a custom ...
FormerAtariUser's user avatar
1 vote
0 answers
805 views

I am trying to install a server for inginious (a program for automatic grading). One step in the installation is configuring Apache2 to use mod_wsgi. Here is the configuration file inginious.conf: <...
Erel Segal-Halevi's user avatar
0 votes
1 answer
3k views

I am trying to configure apache with Django using mod-wsgi. But I am getting the following error AH00035: access to / denied (filesystem path '/home/ec2-user/ezvoice') because search permissions are ...
Talha Anwar's user avatar
0 votes
1 answer
601 views

On running apache2 configtest I get Syntax error on line 2 of /etc/apache2/sites-enabled/firstweb.conf: Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in ...
Ved Nig's user avatar
0 votes
1 answer
868 views

I am setting up a Django project and Apache on Ubuntu 20. The below setup correctly displays the Django project, however ANY URL that points to the server's IP address is served this project. I ...
user984003's user avatar
1 vote
2 answers
7k views

I am not able to enable/load module mod_wgsi in apache webserver in cent os 8 VPS. It works very easily in ubuntu by running the command sudo apt install libapache2-mod-wsgi-py3 Please Help me getting ...
Manav Sengupta's user avatar
0 votes
1 answer
238 views

On Centos7, yum pulls in mod_wsgi 3.4 using a yum install. I'm having some problems and multiple resources I have looked at regard this version as ancient and ask the users to upgrade to 4+. I'm not ...
mcweens's user avatar
1 vote
0 answers
2k views

I am trying to serve my django project over Apache using mod_wsgi. Apache will start but my project in inaccessible. When Apache launches I see ImportError: No module named site in the log. There is ...
iNeedScissors61's user avatar
0 votes
0 answers
438 views

I'm using Django with mod_wsgi and need to tune the httpd.conf to handle 500 requests per second at peak. Right now I have the following configuration: StartServers 3 ServerLimit 15 MinSpareThreads ...
Paul R's user avatar
  • 171
0 votes
1 answer
4k views

I see a couple of tutorials mentioning the Gate Interface specific to python3.6 for Ubuntu -- libapache2-mod-wsgi-py3 as opposed to just mod_wsgi in RHEL's case. Should i be worrying about looking for ...
rtviii's user avatar
  • 101
0 votes
1 answer
562 views

I'm running CentOS 8.1 with Python 3.6.8, and Apache/2.4.37. I'm new to mod_wsgi. I found this "hello world" example and got it to work: https://www.ionos.com/community/hosting/python/use-mod-wsgi-...
Edward_178118's user avatar
1 vote
2 answers
5k views

I am trying to run two applications on my Linux apache server: OpenProject pgAdmin (which is WSGI application) And, in order to connect them from remote computer, I use those httpd configuration files:...
Michał Turczyn's user avatar
0 votes
2 answers
563 views

I have a mod_cgi code "site.py" which is used to serve a website. I'm running several instances of this website on a single apache server, each instance has its own config file. Currently my apache ...
mgb's user avatar
  • 56
1 vote
0 answers
407 views

Running Apache/2.4.41 on Fedora 30 and python3-mod_wsgi-4.6.4-3.fc30.x86_64. And doing a test with: mod_wsgi-express start-server /var/www/flask/upload_pictures.wsgi --user myuser works mostly fine ...
RobbieTheK's user avatar
1 vote
0 answers
2k views

Hello I'm trying to deploy my first Django website using Apache inside of Centos7 Versions: Apache: 2.4.6 Django: 2.2.6 Python: 3.6.8 My Django project is located inside the /srv directory and ...
Alvaro Bataller's user avatar
0 votes
1 answer
3k views

Here is a minimal WSGI script, importing a custom python module. It runs fine on a development environment (Mint 18.1, Apache 2.4.18, libapache2-mod-wsgi-py3), but fails when deployed to a test ...
rclyde's user avatar
  • 11
0 votes
0 answers
2k views

I am running a web application with Debian 9, Apache 2.4, mod_wsgi 4.5, django 1.11 and python 2.7. My apache conf is ServerTokens Prod ServerSignature Off FileETag MTime Size Header set X-Frame-...
Yotam Alon's user avatar
1 vote
2 answers
503 views

I have a server with too many virtual hosts, about 500 virtual hosts, half of this with SSL. All this hosts are served with mod_wsgi for Django applications. I notice that after a certain number of ...
Gui's user avatar
  • 59
0 votes
0 answers
421 views

Trying to configure apache with mod_wsgi and Python3 mod_wsgi config LoadModule wsgi_module /etc/httpd/mod_wsgi/mod_wsgi-py36.cpython-36m-x86_64-linux-gnu.so Flask App config WSGIScriptAlias /...
Karthi's user avatar
  • 1
3 votes
1 answer
6k views

I have a Django 1.11.17 application deployed on Apache 2 and WSGI, Python 2.7. Apache shows an error "Truncated or oversized response headers received from daemon process" I have checked the ...
Jose Luis de la Rosa's user avatar
1 vote
1 answer
6k views

I am trying to deploy a flask app on a VPS using WSGI. I am not using a virtualenv, and pandas is installed on the system: Python 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0] on linux2 ...
daltonfury42's user avatar
1 vote
2 answers
2k views

I have a Django application running on aws-elastic-beanstalk. I try to disable the logs caused by my health-checks. The health-checks are already routed to a seperate page. Elastic-beanstalk uses ...
ohlr's user avatar
  • 61
0 votes
3 answers
8k views

ISSUE: My Apache/httpd server will not launch. journalctl -xe reveals: Feb 27 01:50:12 localhost.localdomain httpd[4398]: AH00526: Syntax error on line 355 of /etc/httpd/conf/httpd.conf: Feb 27 01:...
Josh's user avatar
  • 131
1 vote
0 answers
230 views

I have an unmanged vps. I have 3 django sites sitename_dev, sitename_staging, sitename_live which are run using a virtual env. All 3 are default django instances with no changes made. I have ...
Tuhin's user avatar
  • 11
0 votes
1 answer
61 views

I'm wondering does the Pootle API work the same in version 2.8.2 as in version 2.5.1? I don't see any updated docs for the API in Pootle 2.8.2, the last I see is https://pootle.readthedocs.io/en/...
JohnRDOrazio's user avatar
3 votes
1 answer
4k views

After graceful restart, some python wsgi processes fail with 500 (internal server error): [20:06:33] [mpm_prefork:notice] AH00171: Graceful restart requested, doing restart [20:06:36] [wsgi:error] ...
guettli's user avatar
  • 3,921
2 votes
1 answer
1k views

I have installed Apache 2.4 (vc15 apacheLounge) and Python 3.7. I installed the mod_wsgi using PIP and everything appears to be setup correct in the Apache server. error.log from apache: [mpm_winnt:...
luger's user avatar
  • 21
0 votes
1 answer
538 views

I have a Django application that access a remote directory mounted with sshfs to upload files. The Django application has to read those files as well. The setup is running fine with the Django server (...
user2641103's user avatar
1 vote
1 answer
9k views

I've stumbled with this seemingly most relevant deployment option because guides seem to either reference mod_wsgi with python2, or deployment on deb based systems where expected paths are different. ...
J D's user avatar
  • 163
0 votes
0 answers
713 views

I have a django site. I downloaded letsencrypt certificates for mysite.com and tried to run mod_wsgi-express like this: mod_wsgi-express start-server --log-to-terminal --startup-log --https-port 443 -...
Joel G Mathew's user avatar
3 votes
1 answer
12k views

Trying to get Django server running with Apache and WSGI This is my wsgi.py import os from django.core.wsgi import get_wsgi_application sys.path.append('/home/rohan/Desktop/narsil/narsil') # ...
Bayko's user avatar
  • 131
1 vote
0 answers
453 views

I am current trying to deploy a Flask Application (an API Application) onto Elastic Beanstalk. But I am getting mod_wsgi error. Here is the error message: [Fri Jun 01 06:10:49.314023 2018] [:...
cruise_lab's user avatar
0 votes
0 answers
56 views

As we can see in the picture, thounds of initial&delete info appeared in logs. I don't know what a good Django web site should be, but keep fork&delete seems abnormal and waste resources.
PaleNeutron's user avatar
1 vote
0 answers
166 views

In the last few months we're experiencing a major issue in our production php servers: The httpd running on our linux servers hangs and not responding to new requests (up to request timeout) until we ...
user2033370's user avatar
2 votes
2 answers
10k views

When trying to install mod_wsgi using pip as follows: pip install mod_wsgi I get the following error: 4m.so -L/usr/local/lib -L/usr/local/lib/python3.4/config-3.4m -lpython3.4m /bin/ld: /...
Dean's user avatar
  • 129
0 votes
1 answer
954 views

Please assist. I have a Django site that i'm trying to configure to run in apache using mod_wsgi. I have setup my virtualhost as follows: <virtualhost *:80> ServerName mysite.com ...
Dean's user avatar
  • 129
0 votes
1 answer
3k views

I have been using apache for a django project. I need to upload a very large file in application. But I am getting Gateway timeout error 504. I am using Centos7, httpd2.4, mos_wsgi, python3.48 #...
Abdullah Sifat's user avatar

1
2 3 4 5
8