Ask Your Question

klacey's profile - activity

2016-08-18 08:20:00 -0600 received badge  Student (source)
2016-08-17 06:54:10 -0600 received badge  Editor (source)
2016-08-15 18:17:15 -0600 asked a question How can I run a Django website in production with wsgi

I have searched the web and setup virtual web but still cannot get wsgi and python to run in production with Python 2.7 on Apache in Fedora 23. The Django web server runs from the runserver command but I cannot serve web pages through Apache.

Moodle website running at /var/www/html/moodle - no issues need to keep running.
Django code is at /var/www/myapp/myproject is at /var/www/myapp/myproject/myproject/myproject is at /var/www/myapp/myproject/myproject/myproject
httpd.conf has the following
WSGIScriptAlias /myapp /var/www/myapp/myproject/myproject/myproject/
Alias /myapp/static /var/www/myapp/myproject/myproject/static
AddType text/html .py
<directory ⁄var⁄www⁄myapp⁄> order deny,allow allow from all <⁄directory>
order deny,allow
allow from all
Accessing the web page returns an Internal server error

Thanks for any help offered. Ken