owncloud/core — pull request #22 by illwieckz (2012-10-01 00:55:08+00:00)
Title: oc-1875 : running OwnCloud on an alias (or not) with Nginx

Hi, this is the code that I described in my recent bug report:
http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-1875

Purpose is to use Owncloud as an alias with Nginx. The code calculate OC::$SUBURI and OC::$WEBROOT using $_SERVER["SCRIPT_NAME"], $_SERVER["DOCUMENT_URI"] and $_SERVER["PATH_INFO"].

I was invited to do a "merge request":
http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-1875#comment_1_1877_9612
I hope to do it right!