summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/Apache-Test/Apache-TestItSelf/Apache-TestMe/t/response/TestBasic/Vhost.pm
blob: 9692b493901d2678d5549b47a4cd6c9730baf07f (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
package TestBasic::Vhost;

use Apache2::Const -compile => qw(OK);
use Apache::Test;

# XXX: adjust the test that it'll work under mp1 as well

sub handler {

  my $r = shift;

  plan $r, tests => 1;

  ok 1;

  return Apache2::OK;
}

1;
__END__
<NoAutoConfig>
<VirtualHost TestBasic::Vhost>
    <Location /TestBasic__Vhost>
        SetHandler modperl
        PerlResponseHandler TestBasic::Vhost
    </Location>
</VirtualHost>
</NoAutoConfig>