Saltstack Official Apache Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

25 rindas
802B

  1. ########################################################################
  2. # File managed by Salt at <{{ source }}>.
  3. # Your changes will be overwritten.
  4. ########################################################################
  5. <Location "/server-status">
  6. SetHandler server-status
  7. {%- if apache.version == '2.4' %}
  8. Require local
  9. {%- for require_type,values in apache.get('server_status_require', {}).items() %}
  10. {%- for value in values %}
  11. Require {{ require_type }} {{ value }}
  12. {%- endfor %}
  13. {%- endfor %}
  14. {%- elif apache.version == '2.2' %}
  15. Order deny,allow
  16. Deny from all
  17. Allow from localhost
  18. {%- for require_type,values in apache.get('server_status_require', {}).items() %}
  19. {%- for value in values %}
  20. Allow from {{ value }}
  21. {%- endfor %}
  22. {%- endfor %}
  23. {%- endif %}
  24. </Location>