Apache-Album
view release on metacpan or search on metacpan
</BODY>
</HTML>
EOF
return Apache2::Const::OK;
}
# show_albums simply shows the albums under the directory
# it should probably not be called, a "real" web page with
# links to the albums would probably be better, but this
# helps when debugging, or if someone decides to go to this
# directory directly
sub show_albums {
my ($r, $album_dir, $path_info, $settings) = @_;
unless ($r->uri =~ m|/$|) {
$r->log_error("Redirecting -> " . $r->uri . "/");
$r->headers_out->{Location} = $r->uri . "/";
return Apache2::Const::REDIRECT;
}
( run in 1.528 second using v1.01-cache-2.11-cpan-de7293f3b23 )