File: Vhost.pm

package info (click to toggle)
libapache2-mod-perl2 2.0.9~1624218-2%2Bdeb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 11,912 kB
  • ctags: 4,588
  • sloc: perl: 95,064; ansic: 14,527; makefile: 49; sh: 18
file content (28 lines) | stat: -rw-r--r-- 443 bytes parent folder | download | duplicates (9)
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>