Results 1 to 4 of 4

Thread: RESTInterface/EnableXMLFile configuration directive

  1. #1

    Default 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.

  2. #2
    Join Date
    May 2013
    Posts
    681

    Default

    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

  3. #3

    Default

    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?

  4. #4
    Join Date
    May 2013
    Posts
    681

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •