</Directory>
RewriteEngine On
- RewriteRule ^/v(.*) /api/v$1 [PT]
- RewriteRule ^/public(.*) /api/public$1 [PT]
- RewriteRule ^/tools(.*) /api/ui$1 [PT]
- RewriteRule ^/im(.*) https://%{HTTP_HOST}%{REQUEST_URI}
- RewriteRule ^/login(.*) https://%{HTTP_HOST}%{REQUEST_URI}
+ RewriteRule ^/v(.*) /api/v$1 [PT,NE]
+ RewriteRule ^/public(.*) /api/public$1 [PT,NE]
+ RewriteRule ^/tools(.*) /api/ui$1 [PT,NE]
+ RewriteRule ^/im(.*) https://%{HTTP_HOST}%{REQUEST_URI} [NE]
+ RewriteRule ^/login(.*) https://%{HTTP_HOST}%{REQUEST_URI} [NE]
WSGIScriptAlias /api /pithos/pithos/wsgi/pithos.wsgi
# WSGIDaemonProcess pithos
</Directory>
RewriteEngine On
- RewriteRule ^/v(.*) /api/v$1 [PT]
- RewriteRule ^/public(.*) /api/public$1 [PT]
- RewriteRule ^/tools(.*) /api/ui$1 [PT]
- RewriteRule ^/im(.*) /api/im$1 [PT]
- RewriteRule ^/login(.*) /api/im/login/dummy$1 [PT]
+ RewriteRule ^/v(.*) /api/v$1 [PT,NE]
+ RewriteRule ^/public(.*) /api/public$1 [PT,NE]
+ RewriteRule ^/tools(.*) /api/ui$1 [PT,NE]
+ RewriteRule ^/im(.*) /api/im$1 [PT,NE]
+ RewriteRule ^/login(.*) /api/im/login/dummy$1 [PT,NE]
WSGIScriptAlias /api /pithos/pithos/wsgi/pithos.wsgi
# WSGIDaemonProcess pithos
# WSGIProcessGroup pithos
- ShibConfig /etc/shibboleth/shibboleth2.xml
- Alias /shibboleth-sp /usr/share/shibboleth
-
- <Location /api/im/login/shibboleth>
- AuthType shibboleth
- ShibRequireSession On
- ShibUseHeaders On
- require valid-user
- </Location>
-
LogLevel warn
ErrorLog ${APACHE_LOG_DIR}/pithos.error.log
CustomLog ${APACHE_LOG_DIR}/pithos.access.log combined
ShibConfig /etc/shibboleth/shibboleth2.xml
Alias /shibboleth-sp /usr/share/shibboleth
- <Location /api/login>
+ <Location /api/im/login/shibboleth>
AuthType shibboleth
ShibRequireSession On
ShibUseHeaders On
.. autoclass:: pithos.backends.base.BaseBackend
-SimpleBackend
--------------
-
-.. autoclass:: pithos.backends.simple.SimpleBackend
- :show-inheritance:
- :members:
- :inherited-members:
-
ModularBackend
--------------
Node
~~~~
-.. automodule:: pithos.backends.lib.sqlite.node
+.. automodule:: pithos.backends.lib.sqlalchemy.node
:show-inheritance:
:members:
:undoc-members:
Permissions
~~~~~~~~~~~
-.. automodule:: pithos.backends.lib.sqlite.permissions
+.. automodule:: pithos.backends.lib.sqlalchemy.permissions
:show-inheritance:
:members:
:undoc-members: