Apache verstümmelt Links?

Apache, Lighttpd, nginx, Cherokee
Post Reply
bernostern
Posts: 129
Joined: 2003-02-09 12:52
 

Apache verstümmelt Links?

Post by bernostern »

Hallo,

Ich habe ein komisches Problem mit Apache:
es gibt einen Vhost:

Code: Select all

<VirtualHost xxx.xxx.xxx.xxx:80>
        DocumentRoot /usr/share/phpmyadmin/
        ServerName phpmyadmin.domain.tld

        php_flag magic_quotes_gpc Off
        php_flag track_vars On
        php_flag register_globals On
        php_value include_path .
</VirtualHost>
Es handelt sich dabei um PhpMyAdmin, der auch funktioniert. Wenn ich jetzt auf phpmyadmin.domain.tld surfe werden keine Bildchen angezeigt (also zB das Logo etc., nix wichtiges nur nicht schön zum anschauen)

Vom Browser aus schaut der Pfad zum Bild gut aus:

Code: Select all

http://phpmyadmin.domain.tld/images/pma_logo.png
Im Apache error.log steht drin, dass er folgende Datei nicht findet:

Code: Select all

File does not exist: /usr/share/images/pma_logo.png
d.h. es fehlt im Pfad zum Bild der "phpmyadmin"-Ordner.

Woran kann das liegen?
Danke und Gruß,
Bern
jamesb
Posts: 661
Joined: 2002-05-08 15:35
Location: Karlsruhe
Contact:
 

Re: Apache verstümmelt Links?

Post by jamesb »

In der allgemeinen Sektion in der httpd.conf gibt es einen globalen Alias für /images/ - wird wohl daran liegen. Am einfachsten diesen Alias löschen (falls er nicht benötigt wird), oder die Bilder vom phpMyAdmin wo anders hinkopieren.

JamesB
ego
Posts: 87
Joined: 2003-07-21 10:18
 

Re: Apache verstümmelt Links?

Post by ego »

phpMyAdmin -> config.php

Code: Select all

$cfg['PmaAbsoluteUri'] = 'http://phpmyadmin.domain.tld/';
...dann sollte es auch mit den Bilder klappen.
bernostern
Posts: 129
Joined: 2003-02-09 12:52
 

Re: Apache verstümmelt Links?

Post by bernostern »

:oops: JamesB hatte recht. Danke!
Das sowas immer mir passiert, so bescheuerte Kleinigkeiten.

Schönen Gruß,
Bern
Post Reply