/usr/share/netdisco/html/apache_login.html is in netdisco-frontend 1.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <h1 class="pagehead">Apache authentication configuration error</h1>
<h2 class="subheader"><% $err %></h2>
In a properly configured installation with Apache authentication,
you will never see this page. Check that you've configured
netdisco_apache_dir.conf with the proper authentication
requirements for apache_login.html, and that you've enabled
apache_auth in netdisco.conf .
<%args>
$done => undef
</%args>
<%init>
my $err = '';
if ($netdisco::CONFIG{apache_auth}) {
if ($r->connection->user()) {
$err = $m->comp('login.html:login', user => $r->connection->user(),
how => 'http_login', done => $done);
} else {
$err = "Apache didn't pass me a username, did you set up netdisco_apache_dir.conf properly?";
}
} else {
$err = "Apache authentication is not configured in netdisco.conf; add apache_auth: true";
}
</%init>
%# $Id: apache_login.html,v 1.4 2009/06/11 00:22:33 maxbaker Exp $
%# vim:syntax=mason
|