Untested fragment for apache conf to add web access to mailstats

This commit is contained in:
Brian Read 2024-06-04 10:34:39 +01:00
parent 4a0c17e1c0
commit 5f737912e4
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,9 @@
# Alias for mailstats
Alias "/mailstats" "/opt/mailstats/html"
<Directory "/opt/mailstats/html">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>

View File

@ -614,7 +614,7 @@ if __name__ == "__main__":
DMARCOkCount += 1 DMARCOkCount += 1
continue continue
print(f"J:{j} I:{i}") #print(f"J:{j} I:{i}")
#Now apply the results to the chameleon template - main table #Now apply the results to the chameleon template - main table
# Path to the template file # Path to the template file
template_path = template_dir+'mailstats.html.pt' template_path = template_dir+'mailstats.html.pt'