Re: Deploying with apache2 and modwsgi

2018-08-30 Thread Joel Mathew
I finally got it working with mod_wsgi-express. I was able to get my django project running on port 80. However I have a new problem. The page starts loading, but takes a very long time to load static files. If I hit refresh in the browser, it gives a 503 error. There's nothing in apache logs. The

Re: Deploying with apache2 and modwsgi

2018-08-29 Thread Joel Mathew
I surmised as much. But where does it go? Do you have a full working configuration of the conf file? On Wed, 29 Aug 2018 at 19:17, Jason wrote: > > well, that's self-explainatory. you have a bad config because that > WSGIPythonHome directive can't exist inside a VirtualHost section. > > On Wed

Re: Deploying with apache2 and modwsgi

2018-08-29 Thread Jason
well, that's self-explainatory. you have a bad config because that WSGIPythonHome directive can't exist inside a VirtualHost section. On Wednesday, August 29, 2018 at 9:36:20 AM UTC-4, Joel wrote: > > I get this: > > Aug 29 12:24:52 localhost systemd[1]: Starting The Apache HTTP Server... > Au

Re: Deploying with apache2 and modwsgi

2018-08-29 Thread Joel Mathew
I get this: Aug 29 12:24:52 localhost systemd[1]: Starting The Apache HTTP Server... Aug 29 12:24:52 localhost apachectl[12718]: AH00526: Syntax error on line 31 of /etc/apache2/sites-enabled/000-default.conf: Aug 29 12:24:52 localhost apachectl[12718]: WSGIPythonHome cannot occur within section

Re: Deploying with apache2 and modwsgi

2018-08-29 Thread Jason
just to cnfirm, are you using mod_wsgi3 for python3? and what do you get when you run *apachectl configtest* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to d

Deploying with apache2 and modwsgi

2018-08-29 Thread Joel Mathew
After working with the development server for a month, I'm ready to deploy to a VPS. I've installed a debian9 environment and installed apache2 and modwsgi. I'm having trouble editing the httpd.conf and apache wont start with the added lines. My project is at /home/joel/myappointments and the tree