From aa2ff7fa70b6f56e592d3016a6067b6f53217a88 Mon Sep 17 00:00:00 2001 From: Jean Rodrigo Ferri Date: Tue, 23 Feb 2010 13:49:08 +0000 Subject: [PATCH] VirtualHost direto no servidor redirecionando para o proxy --- etc/apache/apache.conf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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