File: 0032-webadmin-improved-error.patch

package info (click to toggle)
courier 1.4.1-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,168 kB
  • sloc: ansic: 128,314; cpp: 24,312; sh: 10,177; perl: 4,250; makefile: 3,398; sed: 16
file content (37 lines) | stat: -rw-r--r-- 1,370 bytes parent folder | download | duplicates (3)
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
29
30
31
32
33
34
35
36
37
Description: Improve webadmin access denied error page
Author: Markus Wanner <markus@bluegap.ch>
        Soren Stoutner <soren@debian.org>
Bug: https://bugs.debian.org/341205
Forwarded: no
Last-Update: 2024-12-30

--- a/webadmin/unsecure.html
+++ b/webadmin/unsecure.html
@@ -15,18 +15,16 @@
 
 <body text="#000000" bgcolor="#ffffff" link="#0000ee" vlink="#551a8b"
 alink="#ff0000">
-<h1><tt>@PACKAGE@ @VERSION@</tt> - Configuration error</h1>
-
-<p>You're seeing this error message for one of two reasons:</p>
-<ol>
-  <li>Your web server doesn't fully implement the Common Gateway Interface
-    (CGI), or</li>
-  <li>You need to follow the instructions in INSTALL for configuring the
-    <code>webadmin</code> module.</li>
-</ol>
+<h1><tt>@PACKAGE@ @VERSION@</tt> - Access denied</h1>
 
 <p>For security reasons, the default configuration of <code>webadmin</code>
-prevents access from non-local IP addresses without SSL. See INSTALL for more
-information.</p>
+prevents access from non-local IP addresses without SSL.</p>
+
+<p>Please access the webadmin frontend either from the local host itself or
+secured via SSL.  More details can be found in
+<code>/usr/share/doc/courier-webadmin/README.Debian</code> or in the upstream
+installation <a href="http://www.courier-mta.org/install.html#webadmin">
+documentation regarding webadmin</a>.</p>
+
 </body>
 </html>