Re: Where to put wsgi code in Apache in Ubuntu?

2015-07-14 Thread Christian Kleineidam
gt; > -Alex > On Jul 12, 2015 3:56 PM, John  > wrote: > > If your install of apache is httpd, /etc/httpd/ > > If is apache2, /etc/apache2/ > > Under this folder, you may have conf and conf.d directories. You will find > the httpd.conf of apache2.conf ;) > >

Where to put wsgi code in Apache in Ubuntu?

2015-07-12 Thread Christian Kleineidam
The Django documentation tell me to put WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py WSGIPythonPath /path/to/mysite.com Require all granted Into the httpd.conf-file. Such a file doesn't exist on Ubuntu. Where

Recommend guide to setting up a production server with Django and Python 3

2015-07-10 Thread Christian Kleineidam
Is there a recommended guide to set up a new Django enviroment with Python 3? It seems like the official guide on https://docs.djangoproject.com/en/1.8/ tells me to use a decidated server instead of letting django run the server itself but doesn't tell me how. -- You received this message beca

Installing Django and Python 3.4 on a freshly registered Debian VPS

2015-07-04 Thread Christian Kleineidam
I want to install Django and Python 3.4 on a freshly registered Debian server. What are the steps I have to take given that I want to use Python 3.4 and not the debian default of 2.7? I expect I also need to install Apache, is that right? Can you point me to a good tutorial that explains all the