Skip to content

Commit

Permalink
Merge pull request #589 from doc75/vhost_template
Browse files Browse the repository at this point in the history
allow AuthGroupFile directive for vhosts
  • Loading branch information
blkperl committed Jan 26, 2014
2 parents 15fc739 + 4f1f6cb commit 538d2ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,11 @@ documentation](https://httpd.apache.org/docs/2.2/mod/mod_auth_basic.html#authbas
Sets the value for `AuthUserFile` as per the [Apache AuthUserFile
documentation](https://httpd.apache.org/docs/2.2/mod/mod_authn_file.html#authuserfile).

######`auth_group_file`

Sets the value for `AuthGroupFile` as per the [Apache AuthGroupFile
documentation](https://httpd.apache.org/docs/2.2/mod/mod_authz_groupfile.html#authgroupfile).

######`auth_require`

Sets the value for `AuthName` as per the [Apache Require
Expand Down
3 changes: 3 additions & 0 deletions templates/vhost/_directories.erb
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@
<%- if directory['auth_user_file'] -%>
AuthUserFile <%= directory['auth_user_file'] %>
<%- end -%>
<%- if directory['auth_group_file'] -%>
AuthGroupFile <%= directory['auth_group_file'] %>
<%- end -%>
<%- if directory['auth_require'] -%>
Require <%= directory['auth_require'] %>
<%- end -%>
Expand Down

0 comments on commit 538d2ab

Please sign in to comment.