aboutsummaryrefslogtreecommitdiff
path: root/portal-gui/apache/rpki.conf.in
blob: fca4627fd0c84a8188e064e03e519594044cbedf (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
# sample apache configuration file for using the portal-gui with mod_wsgi

# defines the url to the portal-gui
WSGIScriptAlias / @INSTDIR@/apache/rpki.wsgi
<Directory @INSTDIR@/rpkigui>
Order deny,allow
Allow from all
</Directory>

# enable http digest auth
#<Location /accounts/login>
#AuthType digest
#AuthName "rpki"
#AuthDigestDomain /
#AuthDigestProvider file
#AuthUserFile @INSTDIR@/htpasswd
#Require valid-user
#</Location>

# media for the /admin/ site
Alias /media/ /usr/lib/python2.6/site-packages/django/contrib/admin/media/
<Directory /usr/lib/python2.6/site-packages/django/contrib/admin/media>
Order allow,deny
Allow from all
</Directory>