blob: 01bec12ee4edb0ca2ef043824c4a4057f73df6bf (
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
35
36
37
38
39
40
41
42
43
|
# $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@
<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/
<Directory @RCYNIC_HTML_DIR@>
Order deny,allow
Allow from all
</Directory>
# leave the trailing slash off the URL, otherwise /rcynic is swallowed by the
# WSGIScriptAlias
Alias /rcynic @RCYNIC_HTML_DIR@/
# redirect to the dashboard when someone hits the bare vhost
RedirectMatch ^/$ /rpki/
# vim:ft=apache
|