RESTInterface/EnableXMLFile configuration directive

Is there anywhere I can find out what this does? The only information in the configuration reference is that it should be left false for security reasons.

Hello Matt-Presto

If you enable this feature it will allow remote requests to the following url type(s):

http://127.0.0.1:8087/v2/servers/_defaultServer_/xml/conf/Server

This will return the entire configuration for the Server.xml file. By enabling this, it will also cause problems for your standard API requests.

Thanks,

Matt

Matt-Presto,

It can be used in development based scenarios where querying the server configuration may help in deployment or testing etc. With it turned on, I don’t think the endpoints will function appropriately.

Thanks,

Matt

Great, thanks. I thought that might be what it was. Just so I know, what problems would it cause for standard API requests? What’s the purpose of the setting, since it’s not really something we should use? Is it for the internal use of the Manager in handling the files and/or the clustered configuration tool?