richdocuments
richdocuments copied to clipboard
coolwsd in a nextcloud subdir, 404 for adminIntegratorSettings.html
Describe the bug Nextcloud and COOLWSD run behind an HAProxy. COOLWSD is available at example.com/coolwsd.
Simplified: HAProxy routes requests to the backend COOLWSD if the domain matches and the subdirectory is "/coolwsd".
Everything works except for a 404 error in Personal Settings > Office. In the browser console, I see that the URL: https://example.com/browser/dist/admin/adminIntegratorSettings.html is requested, which results in a 404 error.
after rewriting the whole path i saw that other files are still being accessed. that's why i only changed the beginning of the path and it works.
http-request replace-path ^/browser/dist/(.*)$ /coolwsd/browser/dist/\1
is it a bug or do i have a configuration error ?
If I manually add the missing subdirectory /coolwsd, the page is displayed correctly: https://example.com/coolwsd/browser/dist/admin/adminIntegratorSettings.html
To Reproduce open the personal setting and go to the office option
Expected behavior is shown adminIntegratorSettings.html
Screenshots 404
Client details: does not matter
Server details
Operating system: Linux
Web server: Apache, Nginx
Database: Mysql, Postgres
PHP version: 8.3
Nextcloud version: 30.0.1 and earlier
Version of the richdocuments app 8.6.2
Version of Collabora Online latest
Configuration of the richdocuments app
{
"apps": {
"richdocuments": {
"canonical_webroot": "",
"disable_certificate_verification": "",
"doc_format": "",
"edit_groups": "",
"enabled": "yes",
"external_apps": "",
"installed_version": "8.6.2",
"mobile_editing": "yes",
"public_wopi_url": "https:\/\/example.com",
"types": "prevent_group_restriction",
"use_groups": "Collabora|admin",
"wopi_allowlist": "1.2.3.0\/20,1.2.3.4\/29",
"wopi_callback_url": "",
"wopi_url": "https:\/\/example.com\/coolwsd"
}
}
}
Logs
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
I have the same issue after updating richdocuments and Nextcloud Hub. But also
https://example.com/coolwsd/browser/dist/admin/adminIntegratorSettings.html
does not work in my installation.
My installation is compose using the official Nextcloud docker container and richdocuments is installed inside as app.
I tried a find inside the container but with no results:
~/html$ find . -iname "adminIntegratorSettings.html"
After some try and error, I found that following link brings something which looks reasonable:
https://example.com/custom_apps/richdocumentscode/proxy.php?req=/browser/dist/admin/adminIntegratorSettings.html
I have the same issue it seems that the adminsettings-page gets a 404 for adminIntefratorSettings.html and others. If you look into the source code, then you see, that the contacted URL is composed of settings.public_wopi_url + /browse/dist... . If you change the public_wopi_url to https://cloud.expample.com/apps/richdocumentscode/proxy.php?req= the file can be found and also other endpoints like /hosting/capabilities can be resolved. The root problem is that coolwsd is run out of an AppImage and the nextcloud-App proxies requests for it through proxy.php?req=
Unfortunately setting public_wopi_url does not store the entire url as described above. This is, what I tried:
$ php occ config:app:get richdocuments public_wopi_url
https://cloud.example.com
$ php occ config:app:set richdocuments public_wopi_url --value https://cloud.example.com/custom_apps/richdocumentscode/proxy.php?req=
Config value 'public_wopi_url' for app 'richdocuments' is now set to 'https://cloud.example.com/custom_apps/richdocumentscode/proxy.php?req=', stored as mixed in fast cache
$ php occ richdocuments:activate-config
✓ Reset callback url autodetect
Checking configuration
🛈 Configured WOPI URL: https://cloud.example.com/custom_apps/richdocumentscode/proxy.php?req=
🛈 Configured public WOPI URL: https://cloud.example.com/custom_apps/richdocumentscode/proxy.php?req=
🛈 Configured callback URL:
✓ Fetched /hosting/discovery endpoint
✓ Valid mimetype response
✓ Valid capabilities entry
✓ Fetched /hosting/capabilities endpoint
✓ Detected WOPI server: Collabora Online Development Edition 24.04.13.2
Collabora URL (used for Nextcloud to contact the Collabora server):
https://cloud.example.com/custom_apps/richdocumentscode/proxy.php?req=
Collabora public URL (used in the browser to open Collabora):
https://cloud.example.com
Callback URL (used by Collabora to connect back to Nextcloud):
autodetected (will use the same URL as your user for browsing Nextcloud)
$ php occ config:app:get richdocuments public_wopi_url
https://cloud.example.com
The problem persists.
I have set the public_wopi_url directly in the db and the 404 is gone.
Make a backup, use it at your own risk
UPDATE oc_appconfig SET configvalue = "https://example.com/coolwsd" WHERE configkey = "public_wopi_url";
But since 8.6.3, reading and saving the browsersetting.json no longer works.
@ESP32the2nd i just found the same problem
my work around was follow your steps BUT dont do the richdocuments:activate-config step!
just ignore that step,
when i went into the web ui, its showing the correct url and i no longer get a 404 but extra buttons 👍
This seems to do it for me:
php occ config:app:set richdocuments public_wopi_url --value https://mydomain.com/mysubdir_for_nc/apps/richdocumentscode/proxy.php?req=
I wonder why it worked before in NC30.
Will this be fixed?
I confirm that the command php occ config:app:set richdocuments public_wopi_url --value https://{server_name}/{sub_path} works for me, without richdocuments:activate-config and richdocumentscode/proxy.php?req=
Hello everyone, I will take a look. Thank you for the reports.
Reading the issue, I think there are 2 different issues:
-
Running richdocument with dedicated coolwsd server where coolwsd is behind a endpoint for example "/coolwsd" and it can't open
adminIntegratorSettings.html. I think it is configuration error. You can set--o:net.service_root=/coolwsdso coolwsd will add prefix all the pages, websockets, etc. with this path. So request url for theadminIntegratorSettings.htmlpage would behttp://localhost:9980/coolwsd/browser/1d260fee66/admin/adminIntegratorSettings.html. @snetAT (OP's) bug can be fixed by this configuration change. -
Running
richdocumentscodewith proxy.php. I am looking into it. FYI; this isrichdocumentscoderepo: https://github.com/CollaboraOnline/richdocumentscode/issues/316
@Rash419,
no, I am currently using the built-in CODE server. I also used a dedicated coolwsd server in Docker and adjusted the coolwsd.xml file_server_root_path to /coolwsd. Same problem.
@snetAT Lets focus on fixing the richdocumentscode.
I can't reproduce the problem. Can you share discovery.xml file https://<your_domain>/apps-writable/richdocumentscode/proxy.php?req=/hosting/discovery ?
For me adminIntegratorSettings.html returns 200 with richdocumentscode:
`
<!-- Writer documents -->
<app favIconUrl="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/images/x-office-document.svg" name="writer">
<action default="true" ext="sxw" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="odt" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="fodt" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- Text template documents -->
<action default="true" ext="stw" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="ott" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- MS Word -->
<action default="true" ext="doc" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="dot" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- OOXML wordprocessing -->
<action default="true" ext="docx" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="docm" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="dotx" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="dotm" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- Others -->
<action default="true" ext="wpd" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="pdb" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="hwp" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="wps" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="wri" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="lrf" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="mw" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="rtf" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="txt" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="fb2" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="cwk" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="pages" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="abw" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="602" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="writer-global">
<!-- Text master documents -->
<action default="true" ext="sxg" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="odm" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- Writer master document templates -->
<action default="true" ext="otm" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="writer-web">
<action default="true" ext="oth" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Calc documents -->
<app favIconUrl="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/images/x-office-spreadsheet.svg" name="calc">
<action default="true" ext="sxc" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="ods" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="fods" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- Spreadsheet template documents -->
<action default="true" ext="stc" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="ots" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- MS Excel -->
<action default="true" ext="xls" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="xla" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- OOXML spreadsheet -->
<action default="true" ext="xltx" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="xltm" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="xlsx" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="xlsb" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="xlsm" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- Others -->
<action default="true" ext="dif" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="slk" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="csv" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="tsv" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="dbf" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="wk1" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="wks" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="xlr" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="123" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="qpw" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="wb1" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="wq1" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="wq2" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="gnumeric" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="numbers" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Impress documents -->
<app favIconUrl="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/images/x-office-presentation.svg" name="impress">
<action default="true" ext="sxi" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="odp" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="fodp" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- Presentation template documents -->
<action default="true" ext="sti" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="otp" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- MS PowerPoint -->
<action default="true" ext="ppt" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="pot" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- OOXML presentation -->
<action default="true" ext="pptx" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="pptm" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="potx" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="potm" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="ppsx" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- Others -->
<action default="true" ext="cgm" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="key" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Draw documents -->
<app name="draw">
<action default="true" ext="sxd" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="odg" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="fodg" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- Drawing template documents -->
<action default="true" ext="std" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="otg" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- Others -->
<action ext="svg" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="dxf" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="emf" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="wmf" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="cdr" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="vsd" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="vsdx" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="vss" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="pub" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="p65" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="wpg" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="fh" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action ext="bmp" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action ext="png" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action ext="gif" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action ext="tiff" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action ext="jpg" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action ext="jpeg" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action ext="pdf" name="view_comment" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Math documents -->
<!-- In fact Math documents are not supported at all.
See: https://bugs.documentfoundation.org/show_bug.cgi?id=97006
<app name="math">
<action name="view" default="true" ext="sxm"/>
<action name="edit" default="true" ext="odf"/>
</app>
-->
<!-- Legacy MIME-type actions (compatibility) -->
<app name="image/svg+xml">
<action ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-powerpoint">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-excel">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Writer documents -->
<app name="application/vnd.sun.xml.writer">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.text">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.text-flat-xml">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Calc documents -->
<app name="application/vnd.sun.xml.calc">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.spreadsheet">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.spreadsheet-flat-xml">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Impress documents -->
<app name="application/vnd.sun.xml.impress">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.presentation">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.presentation-flat-xml">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Draw documents -->
<app name="application/vnd.sun.xml.draw">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.graphics">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.graphics-flat-xml">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Chart documents -->
<app name="application/vnd.oasis.opendocument.chart">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Text master documents -->
<app name="application/vnd.sun.xml.writer.global">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.text-master">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Math documents -->
<!-- In fact Math documents are not supported at all.
See: https://bugs.documentfoundation.org/show_bug.cgi?id=97006
<app name="application/vnd.sun.xml.math">
<action name="view" default="true" ext=""/>
</app>
<app name="application/vnd.oasis.opendocument.formula">
<action name="edit" default="true" ext=""/>
</app>
-->
<!-- Text template documents -->
<app name="application/vnd.sun.xml.writer.template">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.text-template">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Writer master document templates -->
<app name="application/vnd.oasis.opendocument.text-master-template">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Spreadsheet template documents -->
<app name="application/vnd.sun.xml.calc.template">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.spreadsheet-template">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Presentation template documents -->
<app name="application/vnd.sun.xml.impress.template">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.presentation-template">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Drawing template documents -->
<app name="application/vnd.sun.xml.draw.template">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.graphics-template">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- MS Word -->
<app name="application/msword">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/msword">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- MS Excel -->
<app name="application/vnd.ms-excel">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- MS PowerPoint -->
<app name="application/vnd.ms-powerpoint">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- OOXML wordprocessing -->
<app name="application/vnd.openxmlformats-officedocument.wordprocessingml.document">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-word.document.macroEnabled.12">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.openxmlformats-officedocument.wordprocessingml.template">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-word.template.macroEnabled.12">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- OOXML spreadsheet -->
<app name="application/vnd.openxmlformats-officedocument.spreadsheetml.template">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-excel.template.macroEnabled.12">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-excel.sheet.binary.macroEnabled.12">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-excel.sheet.macroEnabled.12">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- OOXML presentation -->
<app name="application/vnd.openxmlformats-officedocument.presentationml.presentation">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-powerpoint.presentation.macroEnabled.12">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.openxmlformats-officedocument.presentationml.template">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-powerpoint.template.macroEnabled.12">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Others -->
<app name="application/vnd.wordperfect">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-aportisdoc">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-hwp">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-works">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-office">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-mswrite">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-dif-document">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="text/spreadsheet">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="text/csv">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-dbase">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.lotus-1-2-3">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/cgm">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/vnd.dxf">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/x-emf">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/x-wmf">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/coreldraw">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.visio2013">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.visio">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-visio.drawing">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-mspublisher">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-sony-bbeb">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-gnumeric">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/macwriteii">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-iwork-numbers-sffnumbers">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.text-web">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-pagemaker">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="text/rtf">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="text/plain">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-fictionbook+xml">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/clarisworks">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/x-wpg">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-iwork-pages-sffpages">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.openxmlformats-officedocument.presentationml.slideshow">
<action default="true" ext="" name="edit" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-iwork-keynote-sffkey">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-abiword">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/x-freehand">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.sun.xml.chart">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-t602">
<action default="true" ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/bmp">
<action ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/png">
<action ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/gif">
<action ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/tiff">
<action ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/jpg">
<action ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/jpeg">
<action ext="" name="view" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/pdf">
<action ext="" name="view_comment" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- End of legacy MIME-type actions -->
<app name="Settings">
<action ext="" name="iframe" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/admin/adminIntegratorSettings.html"/>
</app>
<app name="Capabilities">
<action ext="" name="getinfo" urlsrc="https://domain.com/apps/richdocumentscode/proxy.php?req=/hosting/capabilities"/>
</app>
</net-zone>
`
@Rash419 ill just put my 2p worth in, ive just setup a completely fresh nextcloud on our plesk server (today)
installed the built-in code server, enabled nextcloud office, navigated to Nextcloud Office in settings
then i also get an 404 not found error
any info you need from me fire my way!
EDIT: the url it keeps loading is https://drive.xxxxxxxxxxxxxx.uk/browser/dist/admin/adminIntegratorSettings.html
PHP 8.3.24, Nginx
EDIT2: my /hosting/discovery wouldnt load with the url /apps-writable/richdocumentscode i kept getting a 404,
but if i did /apps/richdocumentscode then i got results.
but also my file is almost identical to @snetAT also, but my domain name in place of domain.com
<wopi-discovery>
<net-zone name="external-http">
<!-- Writer documents -->
<app favIconUrl="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/images/x-office-document.svg" name="writer">
</app>
<app name="writer-global">
</app>
<app name="writer-web">
</app>
<!-- Calc documents -->
<app favIconUrl="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/images/x-office-spreadsheet.svg" name="calc">
</app>
<!-- Impress documents -->
<app favIconUrl="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/images/x-office-presentation.svg" name="impress">
<action default="true" ext="sxi" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="odp" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="fodp" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- Presentation template documents -->
<action default="true" ext="sti" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="otp" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- MS PowerPoint -->
<action default="true" ext="ppt" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="pot" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- OOXML presentation -->
<action default="true" ext="pptx" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="pptm" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="potx" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="potm" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="ppsx" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- Others -->
<action default="true" ext="cgm" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="key" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Draw documents -->
<app name="draw">
<action default="true" ext="sxd" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="odg" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="fodg" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- Drawing template documents -->
<action default="true" ext="std" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="otg" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<!-- Others -->
<action ext="svg" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="dxf" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="emf" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="wmf" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="cdr" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="vsd" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="vsdx" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="vss" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="pub" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="p65" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="wpg" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action default="true" ext="fh" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action ext="bmp" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action ext="png" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action ext="gif" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action ext="tiff" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action ext="jpg" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action ext="jpeg" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
<action ext="pdf" name="view_comment" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Math documents -->
<!--
In fact Math documents are not supported at all.
See: https://bugs.documentfoundation.org/show_bug.cgi?id=97006
<app name="math">
<action name="view" default="true" ext="sxm"/>
<action name="edit" default="true" ext="odf"/>
</app>
-->
<!-- Legacy MIME-type actions (compatibility) -->
<app name="image/svg+xml">
</app>
<app name="application/vnd.ms-powerpoint">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-excel">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Writer documents -->
<app name="application/vnd.sun.xml.writer">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.text">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.text-flat-xml">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Calc documents -->
<app name="application/vnd.sun.xml.calc">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.spreadsheet">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.spreadsheet-flat-xml">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Impress documents -->
<app name="application/vnd.sun.xml.impress">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.presentation">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.presentation-flat-xml">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Draw documents -->
<app name="application/vnd.sun.xml.draw">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.graphics">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.graphics-flat-xml">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Chart documents -->
<app name="application/vnd.oasis.opendocument.chart">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Text master documents -->
<app name="application/vnd.sun.xml.writer.global">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.text-master">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Math documents -->
<!--
In fact Math documents are not supported at all.
See: https://bugs.documentfoundation.org/show_bug.cgi?id=97006
<app name="application/vnd.sun.xml.math">
<action name="view" default="true" ext=""/>
</app>
<app name="application/vnd.oasis.opendocument.formula">
<action name="edit" default="true" ext=""/>
</app>
-->
<!-- Text template documents -->
<app name="application/vnd.sun.xml.writer.template">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.text-template">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Writer master document templates -->
<app name="application/vnd.oasis.opendocument.text-master-template">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Spreadsheet template documents -->
<app name="application/vnd.sun.xml.calc.template">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.spreadsheet-template">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Presentation template documents -->
<app name="application/vnd.sun.xml.impress.template">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.presentation-template">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Drawing template documents -->
<app name="application/vnd.sun.xml.draw.template">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.graphics-template">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- MS Word -->
<app name="application/msword">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/msword">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- MS Excel -->
<app name="application/vnd.ms-excel">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- MS PowerPoint -->
<app name="application/vnd.ms-powerpoint">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- OOXML wordprocessing -->
<app name="application/vnd.openxmlformats-officedocument.wordprocessingml.document">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-word.document.macroEnabled.12">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.openxmlformats-officedocument.wordprocessingml.template">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-word.template.macroEnabled.12">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- OOXML spreadsheet -->
<app name="application/vnd.openxmlformats-officedocument.spreadsheetml.template">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-excel.template.macroEnabled.12">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-excel.sheet.binary.macroEnabled.12">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-excel.sheet.macroEnabled.12">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- OOXML presentation -->
<app name="application/vnd.openxmlformats-officedocument.presentationml.presentation">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-powerpoint.presentation.macroEnabled.12">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.openxmlformats-officedocument.presentationml.template">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-powerpoint.template.macroEnabled.12">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- Others -->
<app name="application/vnd.wordperfect">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-aportisdoc">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-hwp">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-works">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-office">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-mswrite">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-dif-document">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="text/spreadsheet">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="text/csv">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-dbase">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.lotus-1-2-3">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/cgm">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/vnd.dxf">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/x-emf">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/x-wmf">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/coreldraw">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.visio2013">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.visio">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.ms-visio.drawing">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-mspublisher">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-sony-bbeb">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-gnumeric">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/macwriteii">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-iwork-numbers-sffnumbers">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.text-web">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-pagemaker">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="text/rtf">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="text/plain">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-fictionbook+xml">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/clarisworks">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/x-wpg">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-iwork-pages-sffpages">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.openxmlformats-officedocument.presentationml.slideshow">
<action default="true" ext="" name="edit" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-iwork-keynote-sffkey">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-abiword">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/x-freehand">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/vnd.sun.xml.chart">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/x-t602">
<action default="true" ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/bmp">
<action ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/png">
<action ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/gif">
<action ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/tiff">
<action ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/jpg">
<action ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="image/jpeg">
<action ext="" name="view" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<app name="application/pdf">
<action ext="" name="view_comment" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/cool.html?"/>
</app>
<!-- End of legacy MIME-type actions -->
<app name="Settings">
<action ext="" name="iframe" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/browser/636e10a2b1/admin/adminIntegratorSettings.html"/>
</app>
<app name="Capabilities">
<action ext="" name="getinfo" urlsrc="https://drive.xxxxxxxxxx.uk/apps/richdocumentscode/proxy.php?req=/hosting/capabilities"/>
</app>
</net-zone>
</wopi-discovery>
Hey everyone, it looks like https://github.com/nextcloud/richdocuments/pull/4521 the patch never got backported to stable branches. I was checking on main branch so I couldn't reproduce the problem :)
cc: @codewithvk
@elzody can we have a richdocuments release for this issue?
@annanazarayan There will be one end of week or early next week.
Man, what a terrible piece of software. I’ve been wrestling with errors for two days straight — ever since I installed it, I’ve been fixing one issue after another. I keep having to patch things up constantly.
I searched my error on Google and found this post — turns out there are plenty of people like me. Could this also be related to the issue where photos uploaded through the Android app don’t generate thumbnails?
I searched my error on Google and found this post — turns out there are plenty of people like me. Could this also be related to the issue where photos uploaded through the Android app don’t generate thumbnails?
Hey, It looks like you are talking about "Nextcloud App" https://github.com/nextcloud/android. This repo is for richdocuments/Nextcloud Office. Best to ask for help on https://github.com/nextcloud/android or https://help.nextcloud.com
Hey, It looks like you are talking about "Nextcloud App" https://github.com/nextcloud/android. This repo is for richdocuments/Nextcloud Office. Best to ask for help on https://github.com/nextcloud/android or https://help.nextcloud.com
No, man, I’m talking about the HTML file that gives a 404 in the admin panel. Exactly the problem from the first post! https://prnt.sc/OGnQGW_yS_4L
xxx/browser/dist/admin/adminIntegratorSettings.html
Hey, It looks like you are talking about "Nextcloud App" https://github.com/nextcloud/android. This repo is for richdocuments/Nextcloud Office. Best to ask for help on https://github.com/nextcloud/android or https://help.nextcloud.com
No, man, I’m talking about the HTML file that gives a 404 in the admin panel. Exactly the problem from the first post! https://prnt.sc/OGnQGW_yS_4L
xxx/browser/dist/admin/adminIntegratorSettings.html
404 not found will be fixed by https://github.com/nextcloud/richdocuments/pull/4941 as mentioned previously. But it is not related to thumbnail problem you described. Maybe I am misunderstanding your problem. If yes share screenshot of what thumbnail you are talking about :)
@Rash419 The backport for 31 has been completed, but we are unable to backport the fixes to 30 because the feature did not exist there. It was introduced with 31
~~@elzody @Rash419 im assuming it didnt make the 31.0.8 release, as just updated to it and problem still there~~ sorry the pr was for the app, not nextcloud, so await a new release 👍
After updating to RichDocuments 8.7.4, I now see a different error message.
The fetch-settings-config is missing in /tmp/appimage_extracted_[uniqe_number]/usr/share/coolwsd/browser/dist
`Failed to load resource: the server responded with a status of 404 () proxy.php:1
Failed to load resource: the server responded with a status of 404 () proxy.php:1
Failed to load resource: the server responded with a status of 404 () /browser/dist/fetch-settings-config:1
Failed to load resource: the server responded with a status of 404 () proxy.php?req=/brows…admin-bundle.js:113 Error fetching shared config: Error: Could not fetch shared config:
at t.
proxy.php:1 Failed to load resource: the server responded with a status of 404 () proxy.php:1 Failed to load resource: the server responded with a status of 404 () ` I restarted the Nextcloud stack, cleared the browser cache and restarted the reverse proxy.
After updating to RichDocuments 8.7.4, I now see a different error message.
The fetch-settings-config is missing in /tmp/appimage_extracted_[uniqe_number]/usr/share/coolwsd/browser/dist
`Failed to load resource: the server responded with a status of 404 () proxy.php:1 Failed to load resource: the server responded with a status of 404 () proxy.php:1 Failed to load resource: the server responded with a status of 404 () /browser/dist/fetch-settings-config:1 Failed to load resource: the server responded with a status of 404 () proxy.php?req=/brows…admin-bundle.js:113 Error fetching shared config: Error: Could not fetch shared config: at t. (proxy.php?req=/brows…bundle.js:113:36547) at proxy.php?req=/brows…bundle.js:113:30915 at Object.next (proxy.php?req=/brows…bundle.js:113:31020) at s (proxy.php?req=/brows…bundle.js:113:29727)
proxy.php:1 Failed to load resource: the server responded with a status of 404 () proxy.php:1 Failed to load resource: the server responded with a status of 404 () ` I restarted the Nextcloud stack, cleared the browser cache and restarted the reverse proxy.
Let me check it.
It will never be stable, I deleted the container. 😤 immich is enough for me for now.
not sure if it also matters but when i now go into Office under Administration and not Personal
im also getting 404 for /hosting/discovery and /hostings/capabilities ?
i believe these should also be proxied too but dont seem to be?
ive also double checked every single other page,
and no other page calls these 2 end points apart from Office under Administration
@si458 yep they are now proxied with patch: https://github.com/CollaboraOnline/online/pull/12622. But I facing another problem now the data that gets proxied is getting malformed by proxy.php somewhere here: https://github.com/CollaboraOnline/richdocumentscode/blob/006409745559d52351246b342402d567d8a2cfb3/proxy.php#L349
So coolwsd throws an errors:
wsd-110622-110728 2025-08-19 17:18:52.626450 +0530 [ websrv_poll ] ERR #25: #25 Exception while processing incoming request: [POST /browser/dist/fetch-settings-config HTTP/1.1
...]: Malformed multipart message| wsd/ClientRequestDispatcher.cpp:1254
So patch only fix one problem. Other proxy problem still needs to be fixed. I am working on it
@Rash419, sure, no problem, leave it with you! I Love the office app online and would rather have it working by leaving people alone than pester people to get it fixed!
