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
1
vote
4 answers

Nginx + uWSGI on a fresh Ubuntu install - bind error port 80

I know this is a common problem usually having to do with apache or another service already running on port 80 and I have done a lot of searching and running netstat and still have not figured out why I am getting this error. I rebuilt my slice,…
knuckfubuck
  • 113
  • 1
  • 6
1
vote
1 answer

Re: How can Django/WSGI and PHP share / on Apache?

in response to: How can Django/WSGI and PHP share / on Apache? Hello, could you please post the complete config file from /sites-available I am having a problem seems like rewrite engine redirects all requests to django, so static and php files are…
Bogdan
  • 31
  • 3
1
vote
1 answer

WSGI: get status 200 OK instead of 404

what's wrong with the following WSGI setup based on Apache 2.2, Windows and mod_wsgi 3.3? The problem is that the client gets an OK response status even visiting URLs that don't have an associated application (e.g. http://wsgi/any), instead of 404…
Paolo
  • 281
  • 1
  • 4
  • 12
1
vote
1 answer

Django hosting on Windows server

I'm running in a "Windows only" environment. We have a few linux boxes but we're not allowed to use Linux in our DMZ (something about it being less secure. ha.) We're currently developing a couple of django apps as for a potential switch from Java…
user59411
  • 111
  • 1
1
vote
0 answers

How can I use WPHP with Python Paste

It was suggested to me in answer to my question How can I use Python’s CGIHTTPRequestHandler as a dev server for PHP that I try WPHP. I've tried: import wphp my_php_app = wphp.PHPApp('/path/to/php-files/') from paste import…
Nicholas H.
  • 133
  • 4
1
vote
1 answer

How to install mod_wsgi 3.1 on Ubuntu 9.10

I have a Python 3 web app so mod_wsgi < 3.1 doesn't cut it for me. However, on my Ubuntu 9.10 installation there doesn't seem to be a package for mod_wsgi 3.1. Is there an alternative repository that has a package for mod_wsgi 3.1? There's a new…
pthulin
1
vote
0 answers

Why is gunicorn not creating a .sock or .pid file?

First things first, I would like to clarify that I am completely knew to debugging servers and deploying in general. I'm a student developer for my university and so far all of my work has been programming related, but I have been given the…
JohnnyLeek
  • 11
  • 2
0
votes
1 answer

Python module import from a WSGI script fails on RedHat server

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 server (RHEL 8.0, Httpd/Apache 2.4.37,…
rclyde
  • 11
  • 4
0
votes
1 answer

How can I solve 0x80070585 Error code on my Python Flask wfastcgi app?

I'm trying to deploy a Flask app on IIS (usually doing it on an Nginx/Gunicorn stack). My stack I'm working with Python 3.7 installed globaly, IIS 10 on Windows 10 pro. What I tried Activating CGI service on IIS Installing wfastcgi from…
Glandalf313
  • 13
  • 2
  • 8
0
votes
3 answers

Apache/httpd error: Invalid command 'WSGIPythonHome'

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:50:12 localhost.localdomain httpd[4398]: Invalid…
Josh
  • 131
  • 1
  • 6
0
votes
1 answer

Running Pootle server under Apache with mod_wsgi on ubuntu server

I have successfully installed a pootle server in a localhost environment using the django default server following the instructions found here: http://docs.translatehouse.org/projects/pootle/en/stable-2.8.x/server/installation.html Then I…
JohnRDOrazio
  • 111
  • 7
0
votes
0 answers

nginx to apache2 reverse proxy not working

I'm running an nginx as a reverse proxy and would like to serve apps running on an apache2 server. The app on the apache2 server is working and available via http://192.168.102:8080/ but I always get a Bad Gateway error when trying to access via the…
thpetrus
  • 57
  • 1
  • 1
  • 10
0
votes
1 answer

Page not found when running nginx with wsgi

I wanted to run a flask application using nginx. I have gone through this tutorial and up to the point when I start service using wsgi from command line everything works fine (which means I can access my page on localhost:8000 and display Hello,…
roblee
  • 1
  • 2
0
votes
0 answers

wsgi application not writing log files

i run a wsgi application under debian 8.9 / apache2 and the app (LinOTP) is not writing logfiles. I'm not shure if this is a problem of the app or from setup. I see errors in the apache error.log root@host:/var/log/apache2# tail -f…
chewbakka
  • 401
  • 4
  • 8
0
votes
0 answers

Lighttpd running FastCGI script hangs and give 500 internal error

I'm attempting to use lighttpd and fastcgi to run a small flask application. When I try to start lighttpd, it starts the server just fine, but when I try to connect in the browser, it hangs without giving any meaningful error messages. I'm running…
Michael
  • 153
  • 1
  • 7
1 2 3
8 9