Revision 22062611

b/docs/source/adminguide.rst
43 43
    </Directory>
44 44

  
45 45
    RewriteEngine On
46
    RewriteRule ^/v(.*) /api/v$1 [PT]
47
    RewriteRule ^/public(.*) /api/public$1 [PT]
48
    RewriteRule ^/tools(.*) /api/ui$1 [PT]
49
    RewriteRule ^/im(.*) https://%{HTTP_HOST}%{REQUEST_URI}
50
    RewriteRule ^/login(.*) https://%{HTTP_HOST}%{REQUEST_URI}
46
    RewriteRule ^/v(.*) /api/v$1 [PT,NE]
47
    RewriteRule ^/public(.*) /api/public$1 [PT,NE]
48
    RewriteRule ^/tools(.*) /api/ui$1 [PT,NE]
49
    RewriteRule ^/im(.*) https://%{HTTP_HOST}%{REQUEST_URI} [NE]
50
    RewriteRule ^/login(.*) https://%{HTTP_HOST}%{REQUEST_URI} [NE]
51 51

  
52 52
    WSGIScriptAlias /api /pithos/pithos/wsgi/pithos.wsgi
53 53
    # WSGIDaemonProcess pithos
......
77 77
    </Directory>
78 78

  
79 79
    RewriteEngine On
80
    RewriteRule ^/v(.*) /api/v$1 [PT]
81
    RewriteRule ^/public(.*) /api/public$1 [PT]
82
    RewriteRule ^/tools(.*) /api/ui$1 [PT]
83
    RewriteRule ^/im(.*) /api/im$1 [PT]
84
    RewriteRule ^/login(.*) /api/im/login/dummy$1 [PT]
80
    RewriteRule ^/v(.*) /api/v$1 [PT,NE]
81
    RewriteRule ^/public(.*) /api/public$1 [PT,NE]
82
    RewriteRule ^/tools(.*) /api/ui$1 [PT,NE]
83
    RewriteRule ^/im(.*) /api/im$1 [PT,NE]
84
    RewriteRule ^/login(.*) /api/im/login/dummy$1 [PT,NE]
85 85

  
86 86
    WSGIScriptAlias /api /pithos/pithos/wsgi/pithos.wsgi
87 87
    # WSGIDaemonProcess pithos
88 88
    # WSGIProcessGroup pithos
89 89

  
90
    ShibConfig /etc/shibboleth/shibboleth2.xml
91
    Alias      /shibboleth-sp /usr/share/shibboleth 
92

  
93
    <Location /api/im/login/shibboleth>
94
        AuthType shibboleth
95
        ShibRequireSession On
96
        ShibUseHeaders On
97
        require valid-user
98
    </Location>
99

  
100 90
    LogLevel warn
101 91
    ErrorLog ${APACHE_LOG_DIR}/pithos.error.log
102 92
    CustomLog ${APACHE_LOG_DIR}/pithos.access.log combined
......
190 180
  ShibConfig /etc/shibboleth/shibboleth2.xml
191 181
  Alias      /shibboleth-sp /usr/share/shibboleth 
192 182

  
193
  <Location /api/login>
183
  <Location /api/im/login/shibboleth>
194 184
    AuthType shibboleth
195 185
    ShibRequireSession On
196 186
    ShibUseHeaders On
b/docs/source/backends.rst
9 9

  
10 10
.. autoclass:: pithos.backends.base.BaseBackend
11 11

  
12
SimpleBackend
13
-------------
14

  
15
.. autoclass:: pithos.backends.simple.SimpleBackend
16
   :show-inheritance:
17
   :members:
18
   :inherited-members:
19

  
20 12
ModularBackend
21 13
--------------
22 14

  
......
28 20
Node
29 21
~~~~
30 22

  
31
.. automodule:: pithos.backends.lib.sqlite.node
23
.. automodule:: pithos.backends.lib.sqlalchemy.node
32 24
   :show-inheritance:
33 25
   :members:
34 26
   :undoc-members:
......
36 28
Permissions
37 29
~~~~~~~~~~~
38 30

  
39
.. automodule:: pithos.backends.lib.sqlite.permissions
31
.. automodule:: pithos.backends.lib.sqlalchemy.permissions
40 32
   :show-inheritance:
41 33
   :members:
42 34
   :undoc-members:

Also available in: Unified diff