aboutsummaryrefslogtreecommitdiff
path: root/rpkid/portal-gui/apache.conf.in
blob: 133d014afa913db81193f73c011113f02a5a6f8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $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.
#
#WSGIDaemonProcess rpki processes=2
#WSGIProcessGroup rpki

<Directory @INSTDIR@/wsgi>
Order deny,allow
Allow from all
</Directory>

#
# Defines the URL to the portal-gui
#
WSGIScriptAlias / @INSTDIR@/wsgi/rpki.wsgi

<Directory @INSTDIR@/media>
Order deny,allow
Allow from all
</Directory>

Alias /media/ @INSTDIR@/media/
Alias /site_media/ @INSTDIR@/media/

# redirect to the dashboard when someone hits the bare vhost
RedirectMatch ^/$ /rpki/

# vim:ft=apache