I've been adding a number of search constraints to my Marklogic 6 REST server instance. When using a database module for the REST server, I can see an XML configuration file with the database URL (for example /15946974354972814010/rest-api/options/sgd-identifier.xml).
When I move the modules for the REST server from the database to the filesystem, I can no longer access the sgd-identifier.xml or default.xml files, which does make sense because the database is no longer used. So I thought I would have to copy those files to the folder on my filesystem.
But I cannot get it going. I've been trying stuff to put default.xml in all kinds of folders, including creating a rest-api/options folder. It doesn't get picked up. Is this impossible?
Update: now I understand that it is not possible. Would be nice if Marklogic improves error message and / or documentation because a http 500 error when doing a curl upload to server is not really helpful. I'll accept Dave Cassell's answer, even thought grtjn is also helping out by making it a bit clearer - can't accept both...