After Upgrading to the latest Owncloud 9 it does not work anymore.
I have owncloud installed on http://domain.com directly (not /owncloud).
I read about that problems but nothing of the solution worked for me...
I had some apps that were automatically deactivated while Upgrading.. I also have a custom theme.