add multiple domains reverse proxy support
Add support for a reverse proxy that handles multiple domains via different web roots (http[s]://proxy.tld/domain.tld/owncloud). As the reverse proxy web root is transparent for the web server the REQUEST_URI and SCRIPT_NAME need manual adjustments. This patch replace the direct use of this _SERVER variables with function calls and extend this functions to overwrite the web root. Additionally it adds a Sabre request backend that extends the Sabre_HTTP_Request to use the same functions.
Showing
- apps/files/appinfo/remote.php 2 additions, 0 deletionsapps/files/appinfo/remote.php
- apps/files/index.php 1 addition, 1 deletionapps/files/index.php
- config/config.sample.php 3 additions, 0 deletionsconfig/config.sample.php
- lib/app.php 1 addition, 1 deletionlib/app.php
- lib/base.php 3 additions, 3 deletionslib/base.php
- lib/connector/sabre/request.php 50 additions, 0 deletionslib/connector/sabre/request.php
- lib/public/util.php 22 additions, 0 deletionslib/public/util.php
- lib/request.php 32 additions, 0 deletionslib/request.php
- lib/util.php 1 addition, 1 deletionlib/util.php
- ocs/providers.php 1 addition, 1 deletionocs/providers.php
Loading
Please register or sign in to comment