File: Redirect.pm

package info (click to toggle)
libapache-authenhook-perl 2.00-04%2Bpristine-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 236 kB
  • sloc: perl: 182; makefile: 13; sh: 11
file content (14 lines) | stat: -rw-r--r-- 231 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package My::Redirect;

use Apache2::RequestRec ();
use Apache2::SubRequest ();

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

use strict;

sub handler {
  shift->internal_redirect('/digest/index.html');
  return Apache2::Const::OK;
}
1;