dev/provisioning/modules/apache/templates/mod/userdir.conf.erb
author ymh <ymh.work@gmail.com>
Sat, 06 Aug 2016 21:29:33 +0700
changeset 261 02e2396bcbbc
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
Migrate to ember 2.7 + correct jquery null context error + declare shim for popcorn (instead of silencing the JSHint error)

<IfModule mod_userdir.c>
<% if @disable_root -%>
  UserDir disabled root
<% end -%>
  UserDir <%= @home %>/*/<%= @dir %>

  <Directory "<%= @home %>/*/<%= @dir %>">
    AllowOverride FileInfo AuthConfig Limit Indexes
    Options <%= @options.join(' ') %>
    <Limit GET POST OPTIONS>
      <%- if scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%>
      Require all granted
      <%- else -%>
      Order allow,deny
      Allow from all
      <%- end -%>
    </Limit>
    <LimitExcept GET POST OPTIONS>
      <%- if scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%>
      Require all granted
      <%- else -%>
      Order allow,deny
      Allow from all
      <%- end -%>
    </LimitExcept>
  </Directory>
</IfModule>