My app creates a zip file containing resources and stores the zip in the eXist database. I have a page that displays a listing of the zip files. When a user clicks on a particular .zip file, I would like the download pop-up to occur. However, when visiting
http://myurl/path/to/zip/in/exist/zipFile.zip, I get an HTTP Status 404 error. If I visit
http://myurl/exist/rest/db/path/to/zip/in/exist/zipFile.zip, I get the download pop-up as desired.
In my page_flow.xml, I have the following:
<files path-info="*.zip" mime-type="application/zip"/>
I thought this was all I would need, but I suppose I am missing something.