From: Ɓukasz Rekucki Date: Mon, 19 Apr 2010 21:18:12 +0000 (+0200) Subject: Added logging to vhost template. Invalid package name prevented tickets from validating. X-Git-Url: https://git.mdrn.pl/cas.git/commitdiff_plain/365c9945fa3f8ea131251c8a59db4703656bf3dd?ds=sidebyside Added logging to vhost template. Invalid package name prevented tickets from validating. --- diff --git a/cas.vhost.template b/cas.vhost.template index d951258..970c91f 100644 --- a/cas.vhost.template +++ b/cas.vhost.template @@ -9,10 +9,6 @@ Alias /media/ $MEDIA_ROOT - # - # Logs - LogLevel info - # # WSGI configuration follows # @@ -46,6 +42,9 @@ # ExpiresActive On # ExpiresDefault "now plus 1 year" # - + + LogLevel info + ErrorLog /var/log/apache2/$PROJECT_NAME/error.log + CustomLog /var/log/apache2/$PROJECT_NAME/access.log combined \ No newline at end of file diff --git a/src/cas/settings.py b/src/cas/settings.py index 3ed14b0..3262fcd 100644 --- a/src/cas/settings.py +++ b/src/cas/settings.py @@ -94,7 +94,7 @@ INSTALLED_APPS = ( # django-cas-provider settings LOGIN_URL = '/cas/login/' LOGOUT_URL = '/cas/logout/' -CAS_CUSTOM_ATTRIBUTES_CALLBACK = 'utils.custom_attributes_callback' +CAS_CUSTOM_ATTRIBUTES_CALLBACK = 'cas.utils.custom_attributes_callback' SESSION_COOKIE_NAME = 'fnpcas' # Import localsettings file, which may override settings defined here