Owncloud and apache2 proxypass


#1

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


#2

Hey,

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?

https://doc.owncloud.com/server/10.1/admin_manual/configuration/server/reverse_proxy_configuration.html