Reduce duplicate directives in config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apache OpenID |
New
|
Undecided
|
Unassigned |
Bug Description
Currently you need to specify most of the directives in both Location blocks, if you have a separate action-path set.
Example:
<Location "/">
PythonAcces
PythonOption action-path "/openid/"
PythonOption handler "openidteams"
PythonOption store-type file
PythonOption store-directory /tmp/apache-openid/
PythonOption allowed-op-list-url "file:/
PythonOption authorized-
</Location>
<Location "/openid/">
SetHandler mod_python
PythonHandler apache_
PythonOption action-path "/openid/"
PythonOption handler "openidteams"
PythonOption store-type file
PythonOption store-directory /tmp/apache-openid/
PythonOption allowed-op-list-url "file:/
PythonOption authorized-
</Location>
A possible solution: store the config in a separate file (e.g. INI-style), and point only to that file from the Location blocks.
We also need to look into cases where each Location allows different teams.
description: | updated |
Changed in apache-openid: | |
milestone: | none → 2.1.0 |
Changed in apache-openid: | |
milestone: | 2.1.0 → 2.2.0 |