[Owncloud] owncloud 4.5.0 absolute remote url to core.js and core.css

Thomas Müller thomas.mueller at tmit.eu
Mon Oct 15 10:28:58 UTC 2012


Am Montag, dem 15.10.2012 um 12:06 schrieb Georgi Stanojevski:
> Hello,
> 
> I'm using owncloud 4.5.0 behind nginx as a ssl ofload loadbalancer and
> non-ssl apache as the owncloud webserver (nginx:443 --> apache:8080).
> 
> Owncloud 4.5.0 adds the link to core.js and core.css as an absolute
> link to remote.php, and since http:// is not accesible owncloud
> doesn't work. The other .js and .css files are ok.
> 
> <script type="text/javascript"
> src="http://owncloud/remote.php/core.js"></script>
> <script type="text/javascript"
> src="/apps/files/js/jquery.iframe-transport.js"></script>
> 
> Does anyone have an idea how to fix this?
>

Installing ownCloud in Apache there is a rewrite rule in .htaccess:
https://github.com/owncloud/core/blob/master/.htaccess#L20

You need to adopt this rewrite rule with nginx.

Take care,

Tom
 
> Thanks,
> Glisha
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud



More information about the Owncloud mailing list