kcl-ddh / kiln

Kiln is a multi-platform framework for building and deploying complex websites whose source content is primarily in XML. It brings together various independent software components into an integrated whole that provides the infrastructure and base functionality for such sites.
Apache License 2.0
34 stars 62 forks source link

server status info allow configuration #22

Open muhammedOzbilici opened 6 years ago

muhammedOzbilici commented 6 years ago

is there anyway to configure to see server status info allow for only localhost ?

ajenhl commented 6 years ago

Do you mean that you would like to have that URL accessible only when running Kiln locally via the build script?

If so, in deployed situations, you could restrict access to the URL via configuring the webapp container or whatever might sit in front of that.

Alternately, you could use the Cocoon Host Selector -http://cocoon.apache.org/2.1/userdocs/host-selector.html - to introduce logic into the sitemap so that only when the host is "localhost" is the server status generated, and otherwise some placeholder page is returned, or what have you.