mirror of https://github.com/interlegis/sigi.git
Guilherme Gondim
16 years ago
2 changed files with 24 additions and 0 deletions
@ -0,0 +1,14 @@ |
|||||
|
<VirtualHost *:80> |
||||
|
ServerName sigi.interlegis.gov.br |
||||
|
|
||||
|
WSGIScriptAlias / /srv/webapps/SIGI/etc/apache/django.wsgi |
||||
|
|
||||
|
ErrorLog /var/log/apache2/sigi-error.log |
||||
|
|
||||
|
# Possible values include: debug, info, notice, warn, error, crit, |
||||
|
# alert, emerg. |
||||
|
LogLevel warn |
||||
|
|
||||
|
CustomLog /var/log/apache2/sigi-access.log combined |
||||
|
ServerSignature Off |
||||
|
</VirtualHost> |
@ -0,0 +1,10 @@ |
|||||
|
#!/usr/bin/env python |
||||
|
# -*- mode: python -*- |
||||
|
import os, sys |
||||
|
|
||||
|
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__) + '../..')) |
||||
|
|
||||
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'sigi.settings' |
||||
|
|
||||
|
import django.core.handlers.wsgi |
||||
|
application = django.core.handlers.wsgi.WSGIHandler() |
Loading…
Reference in new issue