Bilder auf Beispielseite haben falsche Pfadangaben
Verfasst: Di 15. Jul 2003, 12:43
Hallo,
in meiner Konfiguaration habe ich als Host 192.168.0.233 eingegeben.
Dieses ist bei uns der Intranet BAMP2 (FreeBSD) Server.
Wenn ich nun die Startseite http://192.168.0.233/contenido_431_beta ... ontent.php
für das Beispiel aufrufe, wird kein Bild angezeigt, da der Link auf folgenden Pfad zeigt:
http://bamp2.kluth.de/contenido_431_bet ... o_logo.jpg
Jetzt frage ich mich, woher Contenido die Bezeichnung "bamp2.kluth.de" bekommt, und nicht wie angegeben 192.168.0.233 nimmt.
"bamp2.kluth.de" könnte theoretisch richtig sein, da 192.168.0.233 der BAMP2 Server bei Kluth ist, aber es funktioniert nicht mit dieser Adresse.
Das Bild läßt sich nur mit der Angabe http://192.168.0.233/contenido_431_beta ... o_logo.jpg aufrufen.
Kann ich in irgendeiner ini Datei den Pfad ändern? In der config.php habe ich bereits alles geändert:
#
# CFG PATHES
#
$cfg['path']['contenido'] = '/usr/local/www/data-dist/contenido_431_beta/contenido/';
$cfg['path']['contenido_html'] = '../contenido/';
$cfg['path']['contenido_fullhtml'] = 'http://192.168.0.233/contenido_431_beta/contenido/';
$cfg['path']['statfile'] = 'statfile/';
$cfg['path']['includes'] = 'includes/';
$cfg['path']['xml'] = 'xml/';
$cfg['path']['images'] = 'images/';
$cfg['path']['classes'] = 'classes/';
$cfg["path"]["cronjobs"] = 'cronjobs/';
$cfg['path']['scripts'] = 'scripts/';
$cfg['path']['styles'] = 'styles/';
$cfg["path"]['plugins'] = 'plugins/';
$cfg['path']['frontend'] = '/usr/local/www/data-dist/contenido_431_beta';
$cfg['path']['frontendtemplate'] = 'external/frontend/';
$cfg['path']['templates'] = 'templates/standard/';
$cfg['path']['xml'] = 'xml/';
$cfg['path']['phplib'] = '/usr/local/www/data-dist/contenido_431_beta/conlib/';
$cfg['path']['wysiwyg'] = '/usr/local/www/data-dist/contenido_431_beta/contenido/external/wysiwyg/spaw/';
$cfg['path']['wysiwyg_html'] = 'http://192.168.0.233/contenido_431_beta/contenido/external/wysiwyg/spaw/';
$cfg['sql']['sqlprefix'] = 'con';
#
# Parse all GET, POST and COOKIE vars
#
require_once '/usr/local/www/data-dist/contenido_431_beta/contenido/includes/globals_off.inc.php';
in meiner Konfiguaration habe ich als Host 192.168.0.233 eingegeben.
Dieses ist bei uns der Intranet BAMP2 (FreeBSD) Server.
Wenn ich nun die Startseite http://192.168.0.233/contenido_431_beta ... ontent.php
für das Beispiel aufrufe, wird kein Bild angezeigt, da der Link auf folgenden Pfad zeigt:
http://bamp2.kluth.de/contenido_431_bet ... o_logo.jpg
Jetzt frage ich mich, woher Contenido die Bezeichnung "bamp2.kluth.de" bekommt, und nicht wie angegeben 192.168.0.233 nimmt.
"bamp2.kluth.de" könnte theoretisch richtig sein, da 192.168.0.233 der BAMP2 Server bei Kluth ist, aber es funktioniert nicht mit dieser Adresse.
Das Bild läßt sich nur mit der Angabe http://192.168.0.233/contenido_431_beta ... o_logo.jpg aufrufen.
Kann ich in irgendeiner ini Datei den Pfad ändern? In der config.php habe ich bereits alles geändert:
#
# CFG PATHES
#
$cfg['path']['contenido'] = '/usr/local/www/data-dist/contenido_431_beta/contenido/';
$cfg['path']['contenido_html'] = '../contenido/';
$cfg['path']['contenido_fullhtml'] = 'http://192.168.0.233/contenido_431_beta/contenido/';
$cfg['path']['statfile'] = 'statfile/';
$cfg['path']['includes'] = 'includes/';
$cfg['path']['xml'] = 'xml/';
$cfg['path']['images'] = 'images/';
$cfg['path']['classes'] = 'classes/';
$cfg["path"]["cronjobs"] = 'cronjobs/';
$cfg['path']['scripts'] = 'scripts/';
$cfg['path']['styles'] = 'styles/';
$cfg["path"]['plugins'] = 'plugins/';
$cfg['path']['frontend'] = '/usr/local/www/data-dist/contenido_431_beta';
$cfg['path']['frontendtemplate'] = 'external/frontend/';
$cfg['path']['templates'] = 'templates/standard/';
$cfg['path']['xml'] = 'xml/';
$cfg['path']['phplib'] = '/usr/local/www/data-dist/contenido_431_beta/conlib/';
$cfg['path']['wysiwyg'] = '/usr/local/www/data-dist/contenido_431_beta/contenido/external/wysiwyg/spaw/';
$cfg['path']['wysiwyg_html'] = 'http://192.168.0.233/contenido_431_beta/contenido/external/wysiwyg/spaw/';
$cfg['sql']['sqlprefix'] = 'con';
#
# Parse all GET, POST and COOKIE vars
#
require_once '/usr/local/www/data-dist/contenido_431_beta/contenido/includes/globals_off.inc.php';