Revision cfc94040 docs/source/adminguide.rst
b/docs/source/adminguide.rst | ||
---|---|---|
8 | 8 |
|
9 | 9 |
Install packages:: |
10 | 10 |
|
11 |
apt-get install git python-django python-setuptools python-sphinx |
|
11 |
apt-get install git python-django python-setuptools python-sphinx python-httplib2
|
|
12 | 12 |
apt-get install python-sqlalchemy python-mysqldb python-psycopg2 |
13 | 13 |
apt-get install apache2 libapache2-mod-wsgi |
14 | 14 |
|
... | ... | |
45 | 45 |
RewriteEngine On |
46 | 46 |
RewriteRule ^/v(.*) /api/v$1 [PT] |
47 | 47 |
RewriteRule ^/public(.*) /api/public$1 [PT] |
48 |
RewriteRule ^/login(.*) https://%{HTTP_HOST}%{REQUEST_URI} |
|
49 |
RewriteRule ^/admin(.*) https://%{HTTP_HOST}%{REQUEST_URI} |
|
48 |
RewriteRule ^/im(.*) https://%{HTTP_HOST}%{REQUEST_URI} |
|
50 | 49 |
|
51 | 50 |
WSGIScriptAlias /api /pithos/pithos/wsgi/pithos.wsgi |
52 | 51 |
# WSGIDaemonProcess pithos |
... | ... | |
78 | 77 |
RewriteEngine On |
79 | 78 |
RewriteRule ^/v(.*) /api/v$1 [PT] |
80 | 79 |
RewriteRule ^/public(.*) /api/public$1 [PT] |
81 |
RewriteRule ^/login(.*) /api/login$1 [PT] |
|
82 |
RewriteRule ^/admin(.*) /api/admin$1 [PT] |
|
80 |
RewriteRule ^/im(.*) /api/im$1 [PT] |
|
83 | 81 |
|
84 | 82 |
WSGIScriptAlias /api /pithos/pithos/wsgi/pithos.wsgi |
85 | 83 |
# WSGIDaemonProcess pithos |
... | ... | |
88 | 86 |
ShibConfig /etc/shibboleth/shibboleth2.xml |
89 | 87 |
Alias /shibboleth-sp /usr/share/shibboleth |
90 | 88 |
|
91 |
<Location /api/login>
|
|
89 |
<Location /api/im/login/shibboleth>
|
|
92 | 90 |
AuthType shibboleth |
93 | 91 |
ShibRequireSession On |
94 | 92 |
ShibUseHeaders On |
Also available in: Unified diff