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

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

# enable http digest auth
<Location /accounts/login>
AuthType digest
AuthName "myrpki"
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>