apache2/apache2-mod_status.conf
Petr Gajdos 50bc75ffe3 - added https://httpd.apache.org/server-status like server status
(configured by APACHE_EXTENDED_STATUS="lua")
- modified sources
  % apache2-mod_status.conf
  % apache2-start_apache2
  % sysconfig.apache2

OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=635
2020-12-11 20:06:07 +00:00

33 lines
936 B
Plaintext

#
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
#
# see https://httpd.apache.org/docs/2.4/mod/mod_status.html
#
<IfModule mod_status.c>
<IfModule mod_lua.c>
<IfDefine LUA_STATUS>
AddHandler lua-script .lua
LuaMapHandler ^/server-status/?$ /usr/share/apache2/lua-server-status/server-status.lua
</IfDefine>
</IfModule>
<IfDefine !LUA_STATUS>
<IfDefine EXTENDED_STATUS>
ExtendedStatus on
</IfDefine>
<Location /server-status>
SetHandler server-status
</Location>
</IfDefine>
<Location /server-status>
<IfModule !mod_access_compat.c>
Require local
</IfModule>
<IfModule mod_access_compat.c>
Order deny,allow
Deny from all
Allow from localhost
</IfModule>
</Location>
</IfModule>