Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

[COOK-1356] Adding mod_status attribute for ExtendedStatus, defaults to 'off' #6

Merged
merged 1 commit into from almost 2 years ago

2 participants

Mike Fiedler Joshua Timberman
Joshua Timberman jtimberman merged commit 89d0a41 into from July 12, 2012
Joshua Timberman jtimberman closed this July 12, 2012
Joshua Timberman
Collaborator

Thanks Mike!

Anuj Biyani anujbiyani referenced this pull request from a commit January 24, 2013
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jun 10, 2012
Mike Fiedler [COOK-1356] Adding mod_status attribute for ExtendedStatus, defaults …
…to 'off'
946a80e
This page is out of date. Refresh to see the latest.
3  attributes/default.rb
@@ -113,6 +113,9 @@
113 113
 # mod_auth_openids
114 114
 default['apache']['allowed_openids'] = Array.new
115 115
 
  116
+# mod_status ExtendedStatus, set to 'true' to enable
  117
+default['apache']['ext_status'] = false
  118
+
116 119
 # Prefork Attributes
117 120
 default['apache']['prefork']['startservers'] = 16
118 121
 default['apache']['prefork']['minspareservers'] = 16
12  templates/default/mods/status.conf.erb
@@ -12,5 +12,15 @@
12 12
     Allow from localhost ip6-localhost
13 13
 #    Allow from .example.com
14 14
 </Location>
15  
-
  15
+#
  16
+# ExtendedStatus controls whether Apache will generate "full" status
  17
+# information (ExtendedStatus On) or just basic information (ExtendedStatus
  18
+# Off) when the "server-status" handler is called. The default is Off.
  19
+#
  20
+<% if node['apache']['ext_status'] %>
  21
+ExtendedStatus On
  22
+<% else -%>
  23
+ExtendedStatus Off
  24
+<% end -%>
  25
+#
16 26
 </IfModule>
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.