# $Id$
#
# Sample apache configuration file for using the portal-gui with
# mod_wsgi
#
# Configure the WSGI application to run as a separate process from the
# Apache daemon itself.
#
@WSGI_DAEMON_PROCESS@
@WSGI_PROCESS_GROUP@
Order deny,allow
Allow from all
#
# Defines the URL to the portal-gui
#
WSGIScriptAlias / @INSTDIR@/wsgi/rpki.wsgi
Order deny,allow
Allow from all
Alias /media/ @INSTDIR@/media/
Alias /site_media/ @INSTDIR@/media/
# redirect to the dashboard when someone hits the bare vhost
RedirectMatch ^/$ /rpki/
# vim:ft=apache