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.

mod_wsgi is a simple to use Apache module which can host any Python application which supports the Python WSGI interface. The module would be suitable for use in hosting high performance production web sites, as well as your average self managed personal sites running on web hosting services.

399 questions
0
votes
1 answer

Apache w. mod_proxy or Static Media Server in front?

I'm setting up a Django server with Apache + mod___wsgi and nginx as a static media server. Which server should I put in front of the other? Apache using mod___proxy or nginx? I've heard different people say different things. From what I…
jamting
  • 103
  • 4
0
votes
1 answer

Django process hangs when connecting to database in Apache

I'm having an issue with Djang in Apache. It is running in daemon mode and using worker MPM. The application is mostly a restful API that is serving connections from Mobile devices and external web services. When a server process reaches its maximum…
kevswanberg
  • 103
  • 6
0
votes
0 answers

Apache swapping virtual host entries each request

I have the following httpd.conf. Based on the different domain, it should route the request to the appropriate entry showing a different site based on a similar code base. The problem is that it swaps between site 1 and site 2 every few…
petey
  • 572
  • 3
  • 9
  • 20
0
votes
1 answer

Unsupported version control system "svn": No module named svn

I'm using The Trac Project with TracModWSGI – The Trac Project on RHEL7: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) # rpm -q httpd mod_wsgi subversion…
alexus
  • 13,112
  • 32
  • 117
  • 174
0
votes
1 answer

How to point Ubuntu 14.10 Apache2 (mod-wsgi) server to a specific virtual environment (Python 3.4 / Flask)?

I am running apache2 (mod-wsgi) on Ubuntu 14.10. I am getting 500 Internal Server Error when serving my web-site. I am also using Flask and Python 3.4, and virtual environment. It appears that Ubuntu has python 2.7 as default, and I need to…
0
votes
0 answers

Cannot load /etc/httpd/modules/mod_wsgi.so into server: libpython2.7.so.1.0

I've been working for the past 2 days trying to get mod_wsgi setup properly so it will work with my virtualenv and Django site in Python 1.7. [root@server mod_wsgi-3.4]# service httpd restart Stopping httpd: …
User
  • 1,405
  • 3
  • 14
  • 17
0
votes
0 answers

scrapping not working Django+Apache+wsgi Production server

I developed a django app which uses beautifulsoup4 and urllib2 to parse the data from webpages.It was working well on my development server but when I put the same on Apache+wsgi server, the scrapping for a data entry is very slow.It works sometime…
Ashish Gupta
  • 103
  • 4
0
votes
1 answer

Cannot run mod_wsgi on Apache 2.4 x64 Windows

I have a Apache 2.2 installation with a site on Django. I load mod_wsgi.so module in my Apache config. Now I'm trying to migrate onto Apache 2.4 and have difficulties with WSGI. First of all: my server is on Windows 2008R2 (x64). I setup Apache 2.4…
Shrike
  • 195
  • 4
  • 11
0
votes
1 answer

django script causing 500 error however nothing clear in error log

i'm really struggling to locate an error caused in a django script, here is the pastie i had a working copy in svn, i updated some code which didn't work and when i rolled back to to the previous version it then suddenly stopped working. i can't…
Neil Hickman
  • 133
  • 10
0
votes
1 answer

How to reinstall python2.7 on CentOS 6 in order to install mod_wsgi

I've installed Python2.7 from source on a CentOS 6 VPS, and I'd like to get a Django site up and running. Unfortunately, everything I've Googled so far says that I'll need to install mod_wsgi, which means I'll need to reinstall Python2.7 with the…
Chad
  • 11
  • 1
0
votes
1 answer

503 errors on Apache+Mod_wsgi+Django

I'm new to Python and trying to setup Django on my VPS that is running CentoOS 6.5. My Apache version is 2.2.15. Python is running on version 2.7. I created a virtualenv under /var/www/html/djangotest I installed Django under the new virtualenv I…
Jorg Ancrath
  • 249
  • 4
  • 9
0
votes
2 answers

Cent OS + Apache2 + mod_wsgi error

I have a development server for my Django application running Cent OS 6. I'm serving the application using Apache and mod_wsgi. I read a lot about the default Python that comes with Cent and so I installed an alternate Python 2.7.6 from source and…
user1289167
  • 103
  • 4
0
votes
1 answer

mod wsgi picks up wrong libpython2.7.so.1.0

I've compiled python 2.7.8 with: mkdir -p /usr/local/python2p7/lib ./configure --prefix=/usr/local/python2p7 --with-threads --enable-shared LDFLAGS="-Wl,-rpath /usr/local/python2p7/lib" make make install altinstall I'm using the LDFLAGS so this…
brian
  • 113
  • 1
  • 1
  • 6
0
votes
0 answers

Serving static files through apache

I am new to the whole mod_wsgi and serving files through apache. I am really comfortable with flask but this is something i can't get my head around. I did the hello-world program and successfully displayed hello world! Now i wanted to display a…
Aarushi
  • 121
  • 4
0
votes
1 answer

configured apache to host pyramid app, but restarts dont show changes

I have a pyramid application that I want to host using Apache. I started off by sucessfully getting a blank application to run - I used pyramid's starter scaffold to create a basic app then I configured apache and made sure I could see the app in my…
Sheena
  • 139
  • 7