Skip to main content

Posts

Featured

Apache with WSGI and two Django apps with different sub domains

  I have two django apps that I wanted to host on the same AWS server. I assume that you are familiar with Django and Apache. So I will go and dive in right to it. Apache configuration myapp.conf <VirtualHost *:80 >     WSGIDaemonProcess myapp python-path=/home/ubuntu/ MYAPP  python-               home=/home/ubuntu/MYAPP/.venv      WSGIProcessGroup myapp      WSGIApplicationGroup im      WSGIScriptAlias / /home/ubuntu/MYAPP/myapppro/appwsgi.py      ServerName first.domain.com      <Directory /home/ubuntu/MYAPP/ myapppro >      <Files  appwsgi.py >      Require all granted      </Files>      </Directory>     Alias /static /home/ubuntu/MYAPP/static     <Directory /home/ubuntu/ MYAPP /static >         Require all granted     </Directory>     Alias /media /home/ubuntu/MYAPP/media     <Directory /home/ubuntu/ MYAPP /media >         Require all granted     </Directory>     ErrorLog ${APACHE_LOG_DIR}/ error .log         Custo

Latest Posts

Felgo/Qt Code signing fails with error 'resource fork, Finder information, or similar detritus not allowed'

Fix brightness Linux Mint on Macbook Pro (mid 2010)

Wifi disconnected on Debian

Linux Mint on Mac not starting

Ubuntu (Elementary OS) on Macbook Pro (mid 2010)

Django csrf in JQuery's ajax for POST and DELETE

Django Test with MongoEngine and test database

Using DBpedia's lookup service for ajax auto complete

matplotlib backend

customized legend for matplotlib