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

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


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

    ProxyPreserveHost On
    ProxyPass "/static/" !
    ProxyPass        "/" ""
    ProxyPassReverse "/" ""
    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).