blob: cc53f7e44e875aee5d4880969e89c85a710e8abf (
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.
#
@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/
# redirect to the dashboard when someone hits the bare vhost
RedirectMatch ^/$ /rpki/
# vim:ft=apache
|