We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6a552c commit 4b9f6d3Copy full SHA for 4b9f6d3
manifests/mod/info.pp
@@ -2,6 +2,7 @@
2
$allow_from = ['127.0.0.1','::1'],
3
$apache_version = undef,
4
$restrict_access = true,
5
+ $info_path = '/server-info',
6
){
7
include ::apache
8
$_apache_version = pick($apache_version, $apache::apache_version)
templates/mod/info.conf.erb
@@ -1,4 +1,4 @@
1
-<Location /server-info>
+<Location <%= @info_path %>>
SetHandler server-info
<%- if @restrict_access -%>
<%- if scope.function_versioncmp([@_apache_version, '2.4']) >= 0 -%>
0 commit comments