I update to PHP7 , so when user logged my domain always return http://localhost/index.php/apps/files/ but my domain is vhost.owncloud.dev in PHP 5.6 works.
in my config have 'trusted_domains' => array ( 0 => 'vhost.owncloud.dev', 1 => 'vhost.owncloud.dev', ),
tflidd
August 18, 2016, 9:59pm
2
`
There is no need to set two identical entries.
Did you set either of these variables in config/config.php
to:
'overwrite.cli.url' => 'https://localhost/',
'overwritehost' => 'localhost',
In this case, replace localhost
by vhost.owncloud.dev
isnt work, my original virtual host is vhost.owncloud.dev, then after login user send me to http://localhost/index.php/apps/files/
stopped working when install php7.0
I debug file Request.php and see::
isset($this->$server['HTTP_HOST'])
return false but this var has vhost.owncloud.dev
well, i solved changing all code in file OC\AppFramework\Http\ request.php when found isset($this->server['*
for this isset($this->items['server']['*
when * can be HTTP_HOST, HTTP_X_FORWARDED_HOST, SCRIPT_FILENAME, PATH_INFOREQUEST_URI, REMOTE_ADDR, etc,
Please fill out the shown issue template providing more info about your environment. Up to now its not even known which oC version you're running...