I am attempting to set a VirtualHost to Alias two directories, and proxy everything else to a Gunicorn server (adding SSL in passing). The VirtualHost is:
ServerName abc.xyz.com
Alias /media/ "/home/xxx/media/"
ErrorLog /var/log/apache2/error.log
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0::1/128
Alias /admin/static/ "/usr/lib/python2.7/dist-packages/django/contrib/admin/static/"
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
Deny from none
ProxyPass /media/ !
ProxyPass /admin/static/ !
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/ssl.crt
SSLCertificateKeyFile /etc/apache2/ssl/ssl.key
Any ideas as to what here is causing trouble?