Deploy/Run a Django app with Apache and Gunicorn in Ubuntu

Here is apache configuration file when django is run by Gunicorn.


    ServerName domain.com

    Alias /static /home/ambu/myproject/static
    
        Require all granted
    

    ProxyPreserveHost On
    ProxyPass "/static/" !
    ProxyPass        "/" "0.0.0.0:8030"
    ProxyPassReverse "/" "0.0.0.0:8030"
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

Daily diary

Today, I solved the problem of my friends regarding configured Apache with CGI. There was a small problem. During running c++ program it gave an internal server error occurred. Then I see error logs of apache and solve it.

Now currently, I am working on SyntaxNet (Neural Models of Syntax).
https://github.com/tensorflow/models/tree/master/syntaxnet
http://thenextweb.com/dd/2016/05/12/google-just-open-sourced-something-called-parsey-mcparseface-change-ai-forever/