[ansel] Some Errors
Heath S. Hendrickson
heath at outerspaceconsultants.com
Thu Sep 22 12:58:19 PDT 2005
Not sure what's going wrong, but apache isn't sending your pages through
the PHP interpreter for this subdomain. When I go to the URL you
indicated, the web server returns me the index.php page in a raw state as:
<?php
/**
* $Horde: horde/index.php,v 2.108 2005/03/02 06:48:36 chuck Exp $
*
* Copyright 1999-2005 Charles J. Hagenbuch <chuck at horde.org>
* Copyright 1999-2005 Jon Parise <jon at horde.org>
*
* See the enclosed file COPYING for license information (LGPL). If you
* did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
*/
@define('AUTH_HANDLER', true);
@define('HORDE_BASE', dirname(__FILE__));
$horde_configured = (@file_exists(HORDE_BASE . '/config/conf.php') &&
@file_exists(HORDE_BASE . '/config/mime_drivers.php') &&
@file_exists(HORDE_BASE . '/config/nls.php') &&
@file_exists(HORDE_BASE . '/config/prefs.php') &&
@file_exists(HORDE_BASE . '/config/registry.php'));
if (!$horde_configured) {
require HORDE_BASE . '/lib/Test.php';
Horde_Test::configFilesMissing('Horde', HORDE_BASE, 'prefs.php',
array('conf.php' => 'This is the main Horde configuration file. It
contains paths and basic items that apply to the core framework
and all Horde applications.',
'mime_drivers.php' => 'This file controls the global set of
MIME drivers for the Horde framework, allowing applications
to make use of programs such as enscript or mswordview to
render content into HTML for viewing in a browser.',
'nls.php' => 'This file provides localisation support for
the Horde framework.',
'registry.php' => 'The registry is how Horde applications
find out how to talk to each other. You should list any
installed Horde applications that you have here.'));
}
require_once HORDE_BASE . '/lib/base.php';
if ($browser->isMobile()) {
require HORDE_BASE . '/services/portal/mobile.php';
exit;
}
$main_page = Util::getFormData('url');
if (!$main_page) {
$main_page = Horde::initialPage();
}
if (!Util::getFormData('frameset_loaded') &&
($conf['menu']['always'] ||
(Auth::getAuth() && $prefs->getValue('show_sidebar')))) {
if ($browser->hasQuirk('scrollbar_in_way')) {
$scrollbar = 'yes';
} else {
$scrollbar = 'auto';
}
require HORDE_TEMPLATES . '/index/frames_index.inc';
} else {
header('Location: ' . $main_page);
}
What's the definition for your other virtual host that works?
heath
Markus Braun wrote:
> Hello,
>
> i am a little bit confused.
>
> I try to run ansel under a subdomain:
>
> http://photos.hirtreiter-design.de
>
> With this server configuration:
>
> #####
> #
> #####
> <VirtualHost 80.237.160.106:80>
>
> DocumentRoot /home/httpd/vhosts/horde/ansel
> Alias /horde /home/httpd/vhosts/horde
> ServerName photos.hirtreiter-design.de
> ServerAlias photos.*
> UseCanonicalName Off
> <Directory /home/httpd/vhosts/horde/ansel>
> <IfModule sapi_apache2.c>
> php_admin_flag engine on
> php_admin_flag magic_quotes_gpc off
> php_admin_flag safe_mode off
> php_admin_value open_basedir none
> php_admin_value include_path
> "/home/httpd/vhosts/horde/ansel:/home/httpd/vhosts/horde:/usr/share/php:/tmp:/var/qmail/bin/."
> </IfModule>
> Options -All +Includes -ExecCGI +FollowSymLinks
> Order allow,deny
> Allow from all
> </Directory>
> </VirtualHost>
>
>
> When i access to this site over IE and Firefoxx i get these errors:
>
>
> Fehler: syntax error
> Quelldatei:
> http://photos.hirtreiter-design.de/horde/services/javascript.php?Horde=9d346fc74179a4ac845111a0026f7598&file=open_help_win.js&app=horde
> Zeile: 1
> Quelltext:
> <?php
>
> See also bug # http://bugs.horde.org/ticket/?id=2598&action=history
>
> But when i access over another subdomain:
>
> http://webmailer.hirtreiter-design.de/horde/ansel/
>
> I get no error in the debugger.
>
> Now i am very confused, why it isnt running under the photos subdomain.
>
> PLease i need help
>
> Thanks
>
> mark
>
> _________________________________________________________________
> Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit
> Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu!
> http://desktop.msn.de/ Jetzt gratis downloaden!
>
> --
> ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: ansel-unsubscribe at lists.horde.org
>
Random Thought:
---------------
If we suffer ourselves to be frightened from our post by mere lying, surely the enemy will use that weapon; for what one so cheap to those of whose system of politics morality makes no part? - Thomas Jefferson, 1743 - 1826
More information about the ansel
mailing list