<Directory "/repo*"> Options Indexes FollowSymLinks AllowOverride AuthConfig AuthType Basic AuthName "Repository" AuthUserFile /etc/httpd/.authusers-repo SetEnvIF X-Forwarded-For "^192.168." AllowIP <RequireAny> Require env AllowIP Require valid-user </RequireAny> </Directory>
RequireAny
: 조건 중 한개라도 만족하면 통과RequireAll
: 모든 조건을 만족해야 통과