- {{ data['apache']['indexes']['indexes'][item]['description'] }}.
- {% if data['apache']['indexes']['indexes'][item]['result'] == 'failed' %}
+ {{ data['apache']['indexes']['description'] }}.
+ {% if data['apache']['indexes']["directories"][item]['result'] == 'failed' %}
Result of the audit:
- {% for protocol in data['apache']['indexes']['indexes'][item]['msg'] %}
- {{ protocol }}
+ {% for indexes in data['apache']['indexes']["directories"][item]['options'] %}
+ {{ indexes }}
{% endfor %}
- For resolving the issue, add this line in the VirtualHost file:
+ For resolving the issue, add this line in the apache config file:
- {{ data['apache']['indexes']['indexes'][item]['recommand_value'] }}
+ {{ data['apache']['indexes']['recommand_value'] }}
diff --git a/reports/templates/apache-signature.html.j2 b/reports/templates/apache-signature.html.j2
index 5eba14f..970b174 100644
--- a/reports/templates/apache-signature.html.j2
+++ b/reports/templates/apache-signature.html.j2
@@ -13,7 +13,7 @@
{{ data['apache']['signature']['signature'][item]['level'] }}
-
+
{{ data['apache']['signature']['signature'][item]['description'] }}.
{% if data['apache']['signature']['signature'][item]['result'] == 'failed' %}
diff --git a/reports/templates/apache-ssl.html.j2 b/reports/templates/apache-ssl.html.j2
index b0cf941..7e4378d 100644
--- a/reports/templates/apache-ssl.html.j2
+++ b/reports/templates/apache-ssl.html.j2
@@ -13,7 +13,7 @@
{{ data['apache']['ssl']['virtualhost'][item]['level'] }}
-
+
{{ data['apache']['ssl']['virtualhost'][item]['description'] }}.
{% if data['apache']['ssl']['virtualhost'][item]['result'] == 'failed' %}