[Owncloud] Add shared reverse SSL-proxy support

Stefan Herbrechtsmeier stefan at herbrechtsmeier.net
Mon Sep 10 17:11:03 UTC 2012


I have improve the shared reverse SSL-proxy support:
- Replace $_SERVER['SCRIPT_NAME'] with new OC_Helper::scriptName function

Furthermore I have upgrade it to 4.5beta2 and master (only the 
owncloud/core at the moment).

I have add a pull request [1] for the core and it would be nice to get 
some feedback from a owncloud developer.


[1] https://github.com/owncloud/core/pull/9

Am 25.07.2012 14:35, schrieb Stefan Herbrechtsmeier:
> Hi,
> I have updated and reworked the shared reverse SSL-proxy support 
> (https://ssl-proxy.com/domain.tld/) (see merge request #74 / Bug 
> report oc-890, oc-1161) to minimize the influence to other proxy 
> configuration:
> - Add WEBROOT to form action in login.php template
> - Replace $_SERVER['REQUEST_URI'] with new OC_Helper::requestUri function
> - Replace 3rdparty changes with Sabre_HTTP_Request connector (subclass)
> - Replace SSL-proxy forward detection with host name compare
> - Make SSL-proxy url configurable
> I have upload the changes to 
> https://gitorious.org/~herbrechtsmeier/owncloud/herbrechtsmeiers-owncloud/commits/sslproxy.
> It would be nice if a reverse SSL-proxy support could be added to 
> owncloud and I am willing to help.
> Regards,
>     Stefan
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud

More information about the Owncloud mailing list