[horde] Horde Server Upgrade Fedora 25 to 28
Arjen de Korte
build+horde at de-korte.org
Tue Jan 1 10:13:45 UTC 2019
Citeren Andreas Mauser <andreas at mauser.info>:
> Hello and a happy new year,
>
> it's about an 'old' horde server, I've moved to another location,
> which only is a backup Horde server, but.. I upgraded the server to
> Fedora 28, since then Horde shows me a text page..like that:
>
> * @category Horde * @license http://www.horde.org/licenses/lgpl
> LGPL-2 * @package Horde */ require_once __DIR__ .
> '/lib/Application.php'; Horde_Registry::appInit('horde', array(
> 'authentication' => 'none', 'nologintasks' => true )); $main_page =
> Horde_Util::nonInputVar('horde_login_url',
> Horde_Util::getFormData('url')); // Break up the requested URL in
> $main_page and run some sanity checks // on it to prevent phishing
> and XSS attacks. If any of the checks // fail, $main_page will be
> set to null. if (!empty($main_page)) { // Mute errors in case of
> unparseable URLs $req = @parse_url($main_page); // We assume that
> any valid redirect URL will be in the same // cookie domain. This
> helps prevent rogue off-site Horde installs // from mimicking the
> real server. if (isset($req['host'])) { $qcookiedom =
> preg_quote($conf['cookie']['domain']); if (!preg_match('/' .
> $qcookiedom . '$/', $req['host'])) { $main_page = null; } } //
> Protocol whitelist: If the URL is fully qualified ... if
> (isset($req['scheme']) || isset($req['host']) || isset($req['port'])
> || isset($req['user']) || isset($req['pass'])) { // ... make sure it
> is either http or https. $allowed_protocols = array('http',
> 'https'); if (empty($req['scheme']) || !in_array($req['scheme'],
> $allowed_protocols)) { $main_page = null; } } } if ($main_page) {
> $main_page = new Horde_Url($main_page); } elseif
> (!$registry->getAuth()) { /* Always redirect to login page if there
> ....
>
> I tried to fix it with uninstall and reinstall of Horde, with
> instructions from:
>
> https://t2792.greatnet.de/fg_mediawiki/index.php/Horde#Horde_und_php7
>
> but same text page appear.
Looks like PHP source, so most likely it is not a problem with Horde,
but your webserver. Chances are it is trying to run php5 while you
have migrated to php7.
> It's not that important, but I would be happy to not install the whole box.
> It may have to do with php7, maybe. But nothing appears in the error
> log and in access.log I just see a normal access.
>
> Many thanks,
> Andreas
More information about the horde
mailing list