Cosign 'permit .htaccess' patch
Motivation
Cosign restricts many of the configuration options to only be permitted from
the Apache server config. For some of the options this is appropriate since
it doesn't make sense to vary them on a per-directory basis, but for others
this seems to be unnecessarily restrictive.
The Solution
This patch relaxes this restriction for four configuration options:
- CosignService
- CosignSiteEntry
- CosignRequireFactor
- CosignAllowPublicAccess
Here are the most recent versions of the patch:
- cosign-2.0.2-permit-htaccess.patch The most recent version, a patch against cosign-2.0.2, which relaxes the restriction on CosignRequireFactor. This patch also relaxes the restriction on the other three options.
Only tested against Apache 2.x.
- cosign-2.0.1-permit-htaccess.patch The most previous version, a patch against cosign-2.0.1.
Only tested against Apache 2.x.
All versions of the patch are listed here.
Some may work better than others.
Installation
This is a patch against the Cosign source code. I apply it with something like:
patch -p1 < cosign-permit-htaccess.patch