I've been on IRC trying to figure this out earlier, but it seems
everyone's stumped there.
I set up owncloud 9.1.0 as per the manual on CentOS 7, works great from
the intranet, both web interface and desktop client.
Now the sysadmins have setup a port forwarding config on one of the
webservers so we can share owncloud with our outside colleagues.
What happens when I go through the proxy is that I can login, see all
files/folders, download all of them, even use the admin page.
But I apparently lose permission to upload or create files in my own
user's directory. However the desktop client syncing through webDAV
RealRancor on IRC suggested I upgrade to 9.1.1, which I've done. The
Here is the relevant bit of my config.php for the reverse-proxy setup:
0 => 'internalhost',
1 => 'publicproxyhost.tld',
'trusted_proxies' => ['publicproxyhost.tld ip'],
'overwriteprotocol' => 'http',
'overwrite.cli.url' => 'http://internalhost/owncloud',
'forwarded_for_headers' => array('HTTP_X_FORWARDED',
This is what the proxy configuration for Apache looks like:
Header edit Location ^([^/]*//[^/]*)?/owncloud/(.*)$
ProxyPassReverseCookiePath /owncloud /teamowncloud
ProxyPassReverseCookieDomain internalhost publicproxyhost.tld
AddOutputFilterByType SUBSTITUTE text/html
AddOutputFilterByType SUBSTITUTE text/xml
AddOutputFilterByType SUBSTITUTE text/css
AddOutputFilterByType SUBSTITUTE application/json
AddOutputFilterByType SUBSTITUTE application/xml
So why would I be able to upload files when accessing directly
http://internalhost/owncloud, and not
At the moment we're still waiting for a certificate to arrive to move to
HTTPS - we're aware of what that entails and we'll be fixing that ASAP.
What am I doing wrong with the OC config, or is it something that needs
to be fixed in the proxy setup?
Thanks a bunch,
University of Geneva
User mailing list