Browse Source

Adicionado alias para media na configuração do Apache.

0.2
Guilherme Gondim 16 years ago
parent
commit
8f01c8daeb
  1. 4
      etc/apache/apache.conf

4
etc/apache/apache.conf

@ -1,7 +1,9 @@
<VirtualHost *:80> <VirtualHost *:80>
ServerName sigi.interlegis.gov.br ServerName sigi.interlegis.gov.br
WSGIScriptAlias / /srv/webapps/SIGI/etc/apache/django.wsgi WSGIScriptAlias / /srv/webapps/SIGI/etc/apache/django.wsgi
Alias /media /srv/webapps/SIGI/media/
Alias /admin_media /usr/local/lib/python2.4/site-packages/django/contrib/admin/media/
ErrorLog /var/log/apache2/sigi-error.log ErrorLog /var/log/apache2/sigi-error.log

Loading…
Cancel
Save