Hello everybody,
I have installed owncloud within the openmediavault webserver (/var/www/openmediavault/owncloud/)
I did not use the plugin but did so manually because I wanted to use the latest 6.0 version of owncloud.
This setup used to run fine, but since a couple of days, apps can no longer connect to owncloud (owncloud news android app, cloudii android app). Webinterface is still working fine.
I tried to debug via REST client. When I send Basic Authentication headers to the owncloud adress (https://myname.somedynamicdnsprovider.com/ownlcoud) I can see from the answer that openmediavault webinterface is answering the request.
So probably somehow the request which is supposedly aimed at the subfolder is redirected to the root folder.
Could this be solved by altering some configuration of the apache webserver or changing some parameters in the .htaccess file?
the .htaccess file residing in the owncloud subfolder contains the followin mod_redirect information:
RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^.well-known/host-meta /public.php?service=host-meta [QSA,L]
RewriteRule ^.well-known/host-meta.json /public.php?service=host-meta-json [QSA,L]
RewriteRule ^.well-known/carddav /remote.php/carddav/ [R]
RewriteRule ^.well-known/caldav /remote.php/caldav/ [R]
RewriteRule ^apps/calendar/caldav.php remote.php/caldav/ [QSA,L]
RewriteRule ^apps/contacts/carddav.php remote.php/carddav/ [QSA,L]
RewriteRule ^apps/([^/])/(..(php))$ index.php?app=$1&getfile=$2 [QSA,L]
RewriteRule ^remote/(.*) remote.php [QSA,L]