Skip to content
Snippets Groups Projects
  • Stefan Herbrechtsmeier's avatar
    ab2b79cd
    add multiple domains reverse proxy support · ab2b79cd
    Stefan Herbrechtsmeier authored
    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.
    ab2b79cd
    History
    add multiple domains reverse proxy support
    Stefan Herbrechtsmeier authored
    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.