Package: mailgraph
Severity: normal
Version: 1.14-13
Tags: patch

With Apache2.4 from Debian jessie, I get an Internal Error when trying to open mailgraph.css as referenced by mailgraph.cgi.

The corresponding Apache2 log message is this:

"""
[Fri Oct 23 14:31:10.111746 2015] [cgi:error] [pid 26354] [client 10.48.144.15:45044] AH01215: (13)Permission denied: exec of '/usr/lib/cgi-bin/mailgraph.css' failed, referer: http://mail.spd.ltsh.de/cgi-bin/mailgraph.cgi
"""

The work-around I implemented is this:

 1. Move mailgraph.css from /usr/lib/cgi-bin/mailgraph.css to
    /var/www/html/css/mailgraph.css
2. Load stylesheet "/css/mailgraph.css" instead of "mailgraph.css" in mailgraph.cgi

"""
--- mailgraph.cgi.orig  2015-10-23 14:50:32.776000000 +0200
+++ mailgraph.cgi       2015-10-23 14:39:13.712000000 +0200
@@ -196,7 +196,7 @@
 <title>Mail statistics for $host</title>
 <meta http-equiv="Refresh" content="300" />
 <meta http-equiv="Pragma" content="no-cache" />
-<link rel="stylesheet" href="mailgraph.css" type="text/css" />
+<link rel="stylesheet" href="/css/mailgraph.css" type="text/css" />
 </style>
 </head>
 <body>
"""

Please consider fixing this issue. Thanks.

Mike

--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/mailxchange/kronolith/fb.php?u=m.gabriel%40das-netzwerkteam.de

Attachment: pgpqSJLrfD5Xf.pgp
Description: Digitale PGP-Signatur

Reply via email to