Reputation: 556
For testing purposes, I tried to host my current Django project on my Raspberry Pi (Model B) using apache and mod_wsgi. After some struggling I managed to get it to work. Unfortunately, page loading is extremely slow (from 30 seconds up to a few minutes, even on the stock admin site) although it worked quite well on the Django development server.
Here is the corresponding extract of my etc/apache2/apache2.conf
, as I'm sure this is just a problem with my configuration (I used the official Django documentation):
WSGIScriptAlias / /var/Vplan/Vertretungsplan/wsgi.py
WSGIPythonPath /var/Vplan
<Directory /var/Vplan/Vertretungsplan>
<Files wsgi.py>
Allow from all
</Files>
</Directory>
Does/Did anybody experience similar problems or knows how to solve this issue?
Upvotes: 0
Views: 4449