summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/Apache-Test/t/conf/extra.conf.in
blob: 5d3a611e60826829c6edf38b6fc913614a8869b5 (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
#this file will be Include-d by @ServerRoot@/httpd.conf

#the subclass inside t/TEST added the authname and allowed_users variables
<IfModule mod_alias.c>
  Redirect /redirect http://@ServerName@/redirected/
</IfModule>

<IfModule mod_perl.c>

  <Location /TestMore__testpm>
    SetHandler perl-script
    <IfDefine APACHE2>
      PerlResponseHandler TestMore::testpm
    </IfDefine>
    <IfDefine APACHE1>
      PerlHandler TestMore::testpm
    </IfDefine>
  </Location>

  <Location /TestMore__testmorepm>
    SetHandler perl-script
    <IfDefine APACHE2>
      PerlResponseHandler TestMore::testmorepm
    </IfDefine>
    <IfDefine APACHE1>
      PerlHandler TestMore::testmorepm
    </IfDefine>
  </Location>
</IfModule>


<IfModule @CGI_MODULE@>
  ScriptAlias /cgi-bin/ "@ServerRoot@/cgi-bin/"

  <Directory "@ServerRoot@/cgi-bin/">
    AllowOverride None
    Options +ExecCGI
  </Directory>

  # t/next_available_port.t
  <IfModule mod_env.c>
    SetEnv NextAvailablePort @NextAvailablePort@
  </IfModule>

</IfModule>