Hallo Leute,
ich richte gerade den Präsentationsserver für das neue Intranet unserer Diakonie ein. Dabei bin ich auf ein seltsames Problem gestossen:
Im htdocs-Wurzelverzeichnis werden alle html und php Dokumente
ausgeführt. Auch das Typo3 1-2-3-Installationstool unter bekannten dem Pfad hat funktioniert.
Sobald ich jetzt aber auf das Backend zugreifen will, wird die index.php nicht mehr ausgeführt, sondern die Datei wird zum Download angeboten. Seltsamerweise wird jedoch ein phpinfo.php-Script im selben Pfad ausgeführt. Dieses Script wird nicht zum Download angeboten!?
Ich hatte zwischenzeitlich mal auf eine höhere Apacheversion(2.0.55) geupdated, aber das brachte überhaupt nichts.
Auf meinem Entwicklungsrechner(Suse 10.0) hatte ich mit den
Konfigurationsdateien keinerlei Probleme. Auf dem Präsentationserver läuft jedoch Suse Linux Enterprise Edition 9.
Anbei die entsprechenden Conf-Dateien:
httpd.conf:
DocumentRoot /srv/www/htdocs
Include /etc/apache2/uid.conf
Include /etc/apache2/server-tuning.conf
ErrorLog /var/log/apache2/error_log
Include /etc/apache2/sysconfig.d/loadmodule.conf
Include /etc/apache2/listen.conf
Include /etc/apache2/mod_log_config.conf
Include /etc/apache2/sysconfig.d/global.conf
Include /etc/apache2/mod_status.conf
Include /etc/apache2/mod_info.conf
Include /etc/apache2/mod_usertrack.conf
Include /etc/apache2/mod_autoindex-defaults.conf
TypesConfig /etc/apache2/mime.types
DefaultType text/plain
Include /etc/apache2/mod_mime-defaults.conf
Include /etc/apache2/errors.conf
# Include /etc/apache2/ssl-global.conf
<directory srvwwwhtdocs="">
Options FollowSymLinks
AllowOverride All
Order deny,allow
Allow from all
</directory>
AccessFileName .htaccess
<files ht="">
Order allow,deny
Deny from all
</files>
DirectoryIndex index.html index.html.var index.php
Include /etc/apache2/default-server.conf
Include /etc/apache2/sysconfig.d/include.conf
default-server.conf:
Alias /icons/ "/usr/share/apache2/icons/"
<directory usrshareapache2icons="">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</directory>
ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"
<directory srvwwwcgi-bin="">
AllowOverride All
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</directory>
Include /etc/apache2/conf.d/*.conf
Include /etc/apache2/conf.d/apache2-manual?conf
ServerName INTRANET
ServerAdmin hoffmann@vorwerker-diakonie.de
Vielen Dank an alle, die mir antworten und helfen wollen.
Ralf