Re: Django on Mediatemple DV (4.0) in Virtualenv

2013-03-22 Thread Bill Freeman
The ones I've done were for a previous employer, so I don't have access, so the stuff below is from memory and untested, but here's a relevant documentation reference: http://httpd.apache.org/docs/current/rewrite/flags.html#flag_p See particularly the performance warning and maybe learn to use Pr

Re: Django on Mediatemple DV (4.0) in Virtualenv

2013-03-22 Thread Tim Walzer
I have both mod_rewrite and mod_proxy available to me. Also, the server is running nginx which seems to be the preferred way of running gunicorn, but I am having trouble getting the nginx config to play nice. Would you be able to provide a sample of your reverse proxy config and maybe that wil

Re: Django on Mediatemple DV (4.0) in Virtualenv

2013-03-21 Thread Bill Freeman
Have you considered a reverse proxy to something like gunicorn? The way that I know how to do this involves mod_rewrite - I don't know of of the top of my head whether it also requires mod_proxy. Are these available to you. I understand that gunicorn is to be preferred to fastcgi, which I haven'

Re: Django on Mediatemple DV (4.0) in Virtualenv

2013-03-21 Thread Tim Walzer
Thats what I was afraid of. Unfortunately Media Temple DVs come pre-installed with Plesk which in turn comes pre-installed with weird versions of different software packages, none of which are mod_wsgi. At this point I have not figured out a way to install mod_wsgi without breaking the entire

Re: Django on Mediatemple DV (4.0) in Virtualenv

2013-03-15 Thread Tom Evans
On Thu, Mar 14, 2013 at 9:37 PM, Tim Walzer wrote: > I am currently trying to install Django on a Mediatemple DV (4.0) server and > have the installation be within a virtualenv. The django app will be run > from a subdomain, parts.domain.com, while the root domain domain.com is > serving a wordpr