-
Notifications
You must be signed in to change notification settings - Fork 253
Builtin handlers
davidmoreno edited this page May 9, 2011
·
2 revisions
Currently there handlers are built in. Full up to date list can be found at src/onion/handlers.
The list includes:
- auth_pam PAM authentication via basic auth. It can use PAM system to allow auth via passwd, htpasswd, LDAP... any PAM known auth module.
- exportlocal Exports a local file or directory to the server.
- opack Simple embedding of files using opack.
- path Create a path layer. Everything under this path is passed to the inside handler.
- regexp Similar to path, but allows regular expressions.
- static Returns a simple static text and code.
- url Regex url matching similar to Django's.
opack is superseded by otemplates, but may be useful for other use cases. path and regexp are superseded by url, but they are more efficient depending on the case.