Vendor the external cookbooks
Knife-Zero doesn't include Berkshelf support, so vendoring everything in the repo is convenient again
This commit is contained in:
17
cookbooks/apache2/templates/default/mods/userdir.conf.erb
Normal file
17
cookbooks/apache2/templates/default/mods/userdir.conf.erb
Normal file
@@ -0,0 +1,17 @@
|
||||
<% if node['apache']['version'] == '2.4' -%>
|
||||
<IfModule mod_userdir.c>
|
||||
UserDir public_html
|
||||
UserDir disabled root
|
||||
|
||||
<Directory /home/*/public_html>
|
||||
AllowOverride FileInfo AuthConfig Limit Indexes
|
||||
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
|
||||
<Limit GET POST OPTIONS>
|
||||
Require all granted
|
||||
</Limit>
|
||||
<LimitExcept GET POST OPTIONS>
|
||||
Require all denied
|
||||
</LimitExcept>
|
||||
</Directory>
|
||||
</IfModule>
|
||||
<% end -%>
|
||||
Reference in New Issue
Block a user