diff --git a/etc/apache/apache.conf b/etc/apache/apache.conf index 02a3425..5dc09d6 100644 --- a/etc/apache/apache.conf +++ b/etc/apache/apache.conf @@ -2,9 +2,11 @@ NameVirtualHost 10.1.2.48:80 ServerName sigi.interlegis.gov.br - WSGIScriptAlias / /var/aplicacoes/django/SIGI/etc/apache/django.wsgi - Alias /media /var/aplicacoes/django/SIGI/media/ - Alias /admin_media /usr/local/lib/python2.4/site-packages/django/contrib/admin/media/ + Redirect / https://intranet.interlegis.gov.br/sigi + + WSGIScriptAlias /sigi /var/aplicacoes/django/SIGI/etc/apache/django.wsgi + Alias /sigi/media /var/aplicacoes/django/SIGI/media/ + Alias /sigi/admin_media /usr/local/lib/python2.4/site-packages/django/contrib/admin/media/ ErrorLog /var/log/apache2/sigi-error.log