tcsams
By:
tcsams

Deploying django app singlepoint on domain singlepointfarmer.com getting : Bad Request (400)

August 27, 2017 159 views
Apache

Trying to deploy django app singlepoint on singlepointfarmer.com

<VirtualHost 166.62.39.74:80>
ServerName singlepointfarmer.com
ServerAlias www.singlepointfarmer.com
ServerAdmin tcsams@gmail.com
Alias /static /var/www/singlepoint/static
<Directory /var/www/singlepoint/static>
Require all granted
</Directory>

    <Directory /var/www/singlepoint/singlepoint>
    <Files wsgi.py>
        Require all granted
    </Files>
</Directory>

WSGIDaemonProcess singlepoint  python-path=/var/www/singlepoint
WSGIProcessGroup  singlepoint
WSGIScriptAlias / /var/www/singlepoint/singlepoint/wsgi.py

</VirtualHost>

Result
http://www.singlepointfarmer.com
Bad Request (400)

Where is my boo-boo ? Please help - thanks

Be the first one to answer this question.