mod_auth_cas를 사용하여 내 tsdb 사이트를 보호합니다. 예는 다음과 같습니다. "require valid-user"를 사용하면 잘 작동합니다. 하지만 일부 사람들 만 내 사이트를 볼 수 있도록 허용하고 싶기 때문에 아파치 conf에서 "foobar 그룹 필요"를 사용하지만 작동 방식을 모릅니다. 내 rubycas 서버에 추가 "그룹"속성을 추가하려했지만 작동하지 않습니다.mod_auth_cas에서 "require foobar"를 지원하는 방법
<VirtualHost *:80>
CASLoginURL https://cas.example.com/login
CASValidateURL https://cas.example.com/serviceValidate
CASValidateServer Off
CASDebug On
ServerName tsdb.example.com
ProxyPass/http://127.0.0.1:4242/
ProxyPassReverse/http://127.0.0.1:4242/
ProxyPreserveHost On
<Location />
AuthType CAS
require group foobar
# require valid-user
</Location>
</VirtualHost>
감사