summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/conf/core.conf.in
blob: 53122a86ea76703d917cacb3832582f63e8a7ac5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# NameVirtualHost sections for :core.  All virtual hosts ending in :core
# will be converted to a set of NVH'es on the same dynamic port, so they
# are collected here.

MaxMemFree 1

<VirtualHost strict-default:core>
      ServerName default-strict
      <IfVersion >= 2.5.1>
          # StrictHostCheck can only be configure globally or in a "default" vhost
          StrictHostCheck  ON
      </IfVersion>
</VirtualHost>
<VirtualHost strict-nvh:core>
      ServerName nvh-strict
      ServerAlias nvh-strict-alias
      # Implicitly StrictHostCheck ON from default VH above
</VirtualHost>

# MergeSlashes 
<IfVersion >= 2.4.39>
   <VirtualHost merge-default:core>
         ServerName merge-default
         <Directory @DocumentRoot@/authz_core/>
             require all granted
         </Directory>
         <LocationMatch ^/authz_core/a/b/c/index.html>
             require all denied 
         </LocationMatch>
   </virtualHost>
   <VirtualHost merge-disabled:core>
         ServerName merge-disabled
         MergeSlashes OFF
         <Directory @DocumentRoot@/authz_core/>
             require all granted
         </Directory>
         <LocationMatch ^/authz_core/a/b/c/index.html>
             require all denied 
         </LocationMatch>
         <LocationMatch ^/authz_core/a//b/c/index.html>
             require all denied 
         </LocationMatch>
         <Location /authz_core/a/b/d>
             require all denied 
         </Location>
          <ifModule rewrite_module>
         <Location /CVE-2020-1927/>
            RewriteEngine ON
            RewriteCond %{REQUEST_URI} (.+)/$
            RewriteRule ^ %1 [L]
         </Location>
          </ifModule>
   </virtualHost>
</IfVersion>