summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-04-08 15:50:22 +0000
committervarac <varacanero@zeromail.org>2015-04-08 15:50:22 +0000
commitd1ab33dbb66e09f9f8ff2cc61e3e8cc94fef3674 (patch)
treeec3d2a763b6e948006e03b18b2263dbb1a733ffc
parent3ae2ea930dfb5134e5fe6f946ecc658aacb2da04 (diff)
parenta34481e68e0810bc176360b820397a3da11ec514 (diff)
Merge branch 'bug/pnp4nagios_missing_index' into 'master'
Add missing DirectoryIndex index.php to the pnp4nagios apache config snippet Without this you get a 404, and have to explicitly specify index.php to load it See merge request !2
-rw-r--r--files/pnp4nagios/apache.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/files/pnp4nagios/apache.conf b/files/pnp4nagios/apache.conf
index 8f66756..816bf05 100644
--- a/files/pnp4nagios/apache.conf
+++ b/files/pnp4nagios/apache.conf
@@ -27,4 +27,5 @@ Alias /pnp4nagios "/usr/share/pnp4nagios/html"
# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT,L]
</IfModule>
+ DirectoryIndex index.php
</Directory>