<%init> my $cm = $r->context_manager(); my @contexts = $cm->contexts(); my $ctx_id = 0; my $srv_id = 0; AO Context Administration

AO Context Administration
Configured Contexts

% if (@contexts) { % for my $c (@contexts) {
% if ($c->auth_method() eq 'BASIC') { % } % if ($c->auth_method() eq 'FORM') { % }
<% $c->display_name() || " " %>
Description: <% $c->description() || " " %>
Path: <% $c->path() %>
Doc base: <% $c->doc_base() || " " %>
Full doc base: <% $c->absolute_path() || " " %>
Session timeout: <% $c->session_timeout() || " " %>
Auth method: <% $c->auth_method() || " " %>
Realm name: <% $c->realm_name() || " " %>
Form login page: <% $c->form_login_page() || " " %>
Form error page: <% $c->form_error_page() || " "%>
Servlets: % for my $s ($c->servlets) { <% $s->name() %>
% $srv_id++; % }

% $ctx_id++; % $srv_id = 0; % }
% } else {

There are no configured contexts. Curious. If that's the case, how could we be serving this page?

% }