File: ssl.last.conf.in

package info (click to toggle)
libapache-ssllookup-perl 2.00-04-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 220 kB
  • sloc: perl: 209; makefile: 11; ansic: 10; sh: 5
file content (29 lines) | stat: -rwxr-xr-x 784 bytes parent folder | download | duplicates (4)
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
# this is here instead of t/response/TestLive/01api.pm
# because we need _something_ under t/conf/ssl to hold
# it open so our CA foo is created, since 'make dist'
# won't roll up an empty directory

# this is _critical_
# without preloading the module the optional functions
# are not defined
PerlModule Apache::SSLLookup

<IfModule @ssl_module@>
  <VirtualHost TestLive>
    SSLEngine on
    SSLCertificateFile @SSLCA@/asf/certs/server.crt
    SSLCertificateKeyFile @SSLCA@/asf/keys/server.pem

    <Location /TestLive__01api>
      SetHandler modperl
      PerlResponseHandler TestLive::01api
    </Location>
  </VirtualHost>
</IfModule>

# Devel::Cover integration

# pass these to modperl_extra.pl
PerlPassEnv HARNESS_PERL_SWITCHES
PerlPassEnv APACHE_TEST_NO_STICKY_PREFERENCES