diff --git a/etc/apache/django.wsgi b/etc/apache/django.wsgi index b104872..02e5e49 100755 --- a/etc/apache/django.wsgi +++ b/etc/apache/django.wsgi @@ -2,8 +2,8 @@ # -*- mode: python -*- import os, sys -sys.path.insert(0, '/var/aplicacoes/django/sigi') -sys.path.insert(0, '/var/aplicacoes/django/sigi/sigi') +sys.path.insert(0, '/var/interlegis/sigi') +sys.path.insert(0, '/var/interlegis/sigi/sigi') os.environ['DJANGO_SETTINGS_MODULE'] = 'sigi.settings' from django.core.management.validation import get_validation_errors diff --git a/etc/apache/sites-available/sigi.erb b/etc/apache/sites-available/sigi.erb index 5dc09d6..8d8db30 100644 --- a/etc/apache/sites-available/sigi.erb +++ b/etc/apache/sites-available/sigi.erb @@ -1,12 +1,12 @@ NameVirtualHost 10.1.2.48:80 - ServerName sigi.interlegis.gov.br + ServerName sigi.interlegis.leg.br - Redirect / https://intranet.interlegis.gov.br/sigi + Redirect / https://intranet.interlegis.leg.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/ + WSGIScriptAlias /sigi /var/interlegis/sigi/etc/apache/django.wsgi + Alias /sigi/media /var/interlegis/django/sigi/media/ + Alias /sigi/admin_media /usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/ ErrorLog /var/log/apache2/sigi-error.log @@ -16,4 +16,4 @@ NameVirtualHost 10.1.2.48:80 CustomLog /var/log/apache2/sigi-access.log combined ServerSignature Off - + \ No newline at end of file