Ms. S! Some paths need to be absolute (full path as the computer sees it) and some can be relative. In the case of Web-served documents (of all kinds) it's usually relative to the root of the web server and/or the site/domain directly that is being accessed based on the DNS (domain name system/servers) pointers. "/htdocs" is a common web root directory and you may not be able to "list" the contents directly.
So permissions on the directory are a big factor. A directory above a web root may be preferable for config-type files, as the normal user cannot get to them with any URL (relative path, likely), but PHP (for example) can with an absolute path.
Your mission (should you choose to accept!) is to see what web application is being used and how file paths can be defined as "legal". And to see how directory permissions come to play.
Thanks for the lifeline Bev! Some of this is like ice dancing to me, but let me rephrase what you’re saying to make sure I’m skating on the right rink. Feel free to talk to me as you would a small child with a short attention span.
I did try listing several folder contents, as a test. I couldn’t view any of them, but I was only typing into the browser, not writing any kind of well-formed page.
All the folders and files in both paths (FileMaker Server and OS Library/htdocs) have read/write fmadmin privileges. Do I need to create a new server group for the web? And can I make them read only for safety?
I’ll pass your full message along to the developer and see if it triggers something from him. Maybe at least he can send me a sample absolute path from his web application.
I suspect you are using FMS13 (since 14 don't have XML cwp)
here is document https://fmhelp.filemaker.com/docs/13/en/fms13_cwp_xml.pdf
and the syntax for getting container data is written as
(since 14 don't have XML cwp)
What? the API for PHP uses XML, the direct query (with any web app) uses XML.
There is no XML/XSLT web publishing. But other than through xDBC, the custom web publishing uses XML.
Can you clarify?
It was my guess as OP said only "but this company is using XML" and nothing about the language (other than HTML nor PHP) which use xml data, so it may be XSLT.
Anyway FM14 seems using same syntax for getting container.
Thanks! But not FMP Server with XML/XSLT. Even PHP can transform xml with xslt.