aboutsummaryrefslogtreecommitdiff
path: root/portal-gui/apache
diff options
context:
space:
mode:
Diffstat (limited to 'portal-gui/apache')
-rw-r--r--portal-gui/apache/rpki.wsgi (renamed from portal-gui/apache/rpki.wsgi.in)7
1 files changed, 2 insertions, 5 deletions
diff --git a/portal-gui/apache/rpki.wsgi.in b/portal-gui/apache/rpki.wsgi
index c50fa6b7..0a7797a7 100644
--- a/portal-gui/apache/rpki.wsgi.in
+++ b/portal-gui/apache/rpki.wsgi
@@ -1,6 +1,6 @@
# $Id$
"""
-Copyright (C) 2010 SPARTA, Inc. dba Cobham Analytic Solutions
+Copyright (C) 2010, 2011 SPARTA, Inc. dba Cobham Analytic Solutions
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
@@ -20,11 +20,8 @@ This is an example wsgi application for use with mod_wsgi and apache.
"""
import os
-import sys
-os.environ['DJANGO_SETTINGS_MODULE'] = 'rpkigui.settings'
-
-sys.path.append('@INSTDIR@')
+os.environ['DJANGO_SETTINGS_MODULE'] = 'rpki.gui.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()