Owncloud and apache2 proxypass


I have a problem using Owncloud 10 behind a exposed apache server using proxypass

Steps to reproduce

  1. Server with Owncloud 10 working internal under http ://owncloud in the root
  2. Exposed Server with apache is serving owncloud external via proxypass as http ://mydomain.com/owncloud

Expected behaviour

Owncloud should be accessible via http ://mydomain.com/owncloud

Actual behaviour

The internal urls delivered by owncloud/apache are wrong. For example the browser tries to load files in http ://mydomain.com/core/… instead of http ://mydomain.com/owncloud/core/…

Server configuration

Operating system: Debian 9

Web server: Apache2

Database: MySQL

PHP version: 7

ownCloud version: 10

Updated from an older ownCloud or fresh install: fresh install

Where did you install ownCloud from: repository



i have put in the word “proxy” in the upper right of https://doc.owncloud.org/server/ and found a few documentation about a proxy setup. Maybe these docs are helping you?