146 | | To add a new project, you'll have to create a new user in the user file. Then, create a new group for the project in the group file. Finally, create a new <Location> block with a new {{{Require group}}} directive. That about it. |
147 | | |
148 | | Note: if there was a way to do conditional processing in configurations (I haven't figured it out, if there is), you could use the following setup: |
149 | | |
150 | | {{{ |
151 | | <Location /*/login> |
| 146 | To add a new project, you'll have to create a new user in the user file. Then, create a new group for the project in the group file. Finally, create a new <Location> block with a new {{{Require group}}} directive. That's about it. |
| 147 | |
| 148 | Note: It's untested, but you might be able to use the following setup to authenticate any number of projects: |
| 149 | |
| 150 | {{{ |
| 151 | <LocationMatch "/[[:alnum:]\-]+/login"> |