diff --git a/django.wsgi b/django.wsgi index 4adfa98a000e2dc9a29cc756c8c0204ddfff126a..164ebb1f4cc6fdf8cb7a0d49078e9475d27dc92f 100644 --- a/django.wsgi +++ b/django.wsgi @@ -5,11 +5,19 @@ os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' # Sandbox libs here, if required. # - sys.path.append('/home/lars/wsgi-sandbox/lib/python2.6') sys.path.append('/home/lars/wsgi-sandbox/lib/python2.6/site-packages') sys.path.append('/home/gracedb/graceproj') +# Scott's Shib app uses loggers. +import logging +logging.basicConfig() + +#logging.basicConfig(level=logging.DEBUG, +# format='%(asctime)s %(levelname)s %(message)s', +# filename='/tmp/myapp.log', +# filemode='w') + import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler() diff --git a/settings/production.py b/settings/production.py index 0eb78a83faeb2408e89b31b7cfd4b81183b0494f..879bd418e03fa5b986f1cdc794be4513204d909b 100644 --- a/settings/production.py +++ b/settings/production.py @@ -1,5 +1,5 @@ -DEBUG = False -TEMPLATE_DEBUG = DEBUG + +SHIB_AUTHENTICATION_SESSION_INITIATOR = 'https://archie.phys.uwm.edu/Shibboleth.sso/Login' CONFIG_NAME = "PRODUCTION"