You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The graph URL paths in the html generated by mailgraph.cgi are absolute. This forces contortions to get reverse-proxy to mailgraph behind an admin interface working. A better solution might be to make the URLs relative by changing the code at line 181-185 in mailgraph.cgi from
for my $n (0..$#graphs) {
print "<h2 id=\"G$n\">$graphs[$n]{title}</h2>\n";
print "<p><img src=\"$scriptname?${n}-n\" alt=\"mailgraph\"/><br/>\n";
print "<img src=\"$scriptname?${n}-e\" alt=\"mailgraph\"/></p>\n";
}
to
for my $n (0..$#graphs) {
print "<h2 id=\"G$n\">$graphs[$n]{title}</h2>\n";
print "<p><img src=\"?${n}-n\" alt=\"mailgraph\"/><br/>\n";
print "<img src=\"?${n}-e\" alt=\"mailgraph\"/></p>\n";
}
The text was updated successfully, but these errors were encountered:
The graph URL paths in the html generated by mailgraph.cgi are absolute. This forces contortions to get reverse-proxy to mailgraph behind an admin interface working. A better solution might be to make the URLs relative by changing the code at line 181-185 in mailgraph.cgi from
to
The text was updated successfully, but these errors were encountered: