dev/provisioning/modules/apache/templates/mod/userdir.conf.erb
author ymh <ymh.work@gmail.com>
Fri, 03 Feb 2017 13:01:08 +0100
changeset 495 c71923e6fa2f
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
Correct error when transitioning between thematiques tabs and others (bug #0025983) + correct scroll for themes

<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>