bwar
Registered User
Hallo!
Ich bin kurz vorm Verzweifeln...
Ich habe einen vServer mit einem nackten debian sarge-System.
Per aptitude habe ich alles für apache 1.3 installieren lassen. php4-cli und php4-cgi sind auch dabei.
Nun zu meinem Problem:
Alle aufgerufenen php-Dateien werden gedownloaded.
Ich habe schon im Forum gesucht, doch irgendwie funktionieren die Tips nicht bei mir.
Hier ein paar Anhaltspunkte:
Auch wenn da steht "File does not exist:", so gibt es sie in den besagten Verzeichnissen, sonst würden sie nicht gedownloaded.
Hier noch mein vHost-Eintrag:
Ich hoffe, ihr könnt mir helfen.
mfg
bwar
Ich bin kurz vorm Verzweifeln...
Ich habe einen vServer mit einem nackten debian sarge-System.
Per aptitude habe ich alles für apache 1.3 installieren lassen. php4-cli und php4-cgi sind auch dabei.
Nun zu meinem Problem:
Alle aufgerufenen php-Dateien werden gedownloaded.
Ich habe schon im Forum gesucht, doch irgendwie funktionieren die Tips nicht bei mir.
Hier ein paar Anhaltspunkte:
Code:
88:~# php -v
PHP 4.4.4-7 (cli) (built: Nov 17 2006 09:32:55)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
Code:
# Autogenerated file - do not edit!
# This file is maintained by the apache package.
# To update it, run the command:
# /usr/sbin/apache-modconf apache
ClearModuleList
AddModule mod_so.c
AddModule mod_macro.c
LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so
LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
LoadModule status_module /usr/lib/apache/1.3/mod_status.so
LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
LoadModule access_module /usr/lib/apache/1.3/mod_access.so
LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
LoadModule setenvif_module /usr/lib/apache/1.3/libphp4.so
Code:
<IfModule mod_php4.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</IfModule>
Code:
[Sun Nov 19 20:38:32 2006] [notice] Apache/1.3.33 (Debian GNU/Linux) configured -- resuming normal operations
[Sun Nov 19 20:38:32 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov 19 20:40:54 2006] [error] [client 62.117.27.50] File does not exist: /var/www/favicon.ico
[Sun Nov 19 20:40:55 2006] [error] [client 62.117.27.50] File does not exist: /var/www/favicon.ico
[Sun Nov 19 20:40:55 2006] [error] [client 62.117.27.50] File does not exist: /var/www/favicon.ico
[Sun Nov 19 20:40:58 2006] [error] [client 62.117.27.50] File does not exist: /var/www/favicon.ico
[Sun Nov 19 20:40:59 2006] [error] [client 62.117.27.50] File does not exist: /var/www/favicon.ico
[Sun Nov 19 20:41:05 2006] [error] [client 62.117.27.50] File does not exist: /var/www/favicon.ico
[Sun Nov 19 20:41:05 2006] [error] [client 62.117.27.50] File does not exist: /var/www/favicon.ico
[Sun Nov 19 20:43:41 2006] [notice] SIGHUP received. Attempting to restart
[Sun Nov 19 20:43:41 2006] [notice] Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-18 configured -- resuming normal operations
[Sun Nov 19 20:43:41 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov 19 20:45:09 2006] [notice] SIGHUP received. Attempting to restart
[Sun Nov 19 20:45:09 2006] [notice] Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-18 configured -- resuming normal operations
[Sun Nov 19 20:45:09 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov 19 20:45:16 2006] [notice] SIGUSR1 received. Doing graceful restart
[Sun Nov 19 20:45:16 2006] [notice] Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-18 configured -- resuming normal operations
[Sun Nov 19 20:45:16 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov 19 20:51:08 2006] [notice] caught SIGTERM, shutting down
[Sun Nov 19 21:10:31 2006] [notice] Apache/1.3.34 (Debian) configured -- resuming normal operations
[Sun Nov 19 21:10:31 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov 19 21:11:23 2006] [notice] caught SIGTERM, shutting down
[Sun Nov 19 21:11:31 2006] [notice] Apache/1.3.34 (Debian) configured -- resuming normal operations
[Sun Nov 19 21:11:31 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov 19 21:17:09 2006] [notice] SIGHUP received. Attempting to restart
[Sun Nov 19 21:17:09 2006] [error] Cannot resolve host name ip.address.of.host.some_domain.com --- ignoring!
[Sun Nov 19 21:17:09 2006] [warn] NameVirtualHost 88.198.136.21:80 has no VirtualHosts
[Sun Nov 19 21:17:09 2006] [notice] Apache/1.3.34 (Debian) configured -- resuming normal operations
[Sun Nov 19 21:17:09 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov 19 21:19:56 2006] [error] [client 62.117.27.50] File does not exist: /var/www/downloadWindow.php
[Sun Nov 19 21:19:56 2006] [error] [client 62.117.27.50] File does not exist: /var/www/favicon.ico
[Sun Nov 19 21:20:05 2006] [error] [client 62.117.27.50] File does not exist: /var/www/downloadWindow.php
[Sun Nov 19 21:22:22 2006] [notice] SIGHUP received. Attempting to restart
[Sun Nov 19 21:22:22 2006] [notice] Apache/1.3.34 (Debian) configured -- resuming normal operations
[Sun Nov 19 21:22:22 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov 19 21:22:32 2006] [error] [client 62.117.27.50] Directory index forbidden by rule: /home/otrs/www/
[Sun Nov 19 21:22:34 2006] [error] [client 62.117.27.50] Directory index forbidden by rule: /home/otrs/www/
[Sun Nov 19 21:23:58 2006] [notice] SIGHUP received. Attempting to restart
[Sun Nov 19 21:23:58 2006] [notice] Apache/1.3.34 (Debian) configured -- resuming normal operations
[Sun Nov 19 21:23:58 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov 19 21:24:00 2006] [error] [client 62.117.27.50] Directory index forbidden by rule: /home/otrs/www/
[Sun Nov 19 21:24:04 2006] [error] [client 62.117.27.50] Directory index forbidden by rule: /home/otrs/www/
[Sun Nov 19 21:24:20 2006] [notice] caught SIGTERM, shutting down
[Sun Nov 19 21:28:36 2006] [notice] Apache/1.3.34 (Debian) configured -- resuming normal operations
[Sun Nov 19 21:28:36 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov 19 21:33:19 2006] [notice] SIGHUP received. Attempting to restart
[Sun Nov 19 21:33:19 2006] [error] (2)No such file or directory: mod_mime_magic: can't read magic file /usr/share/misc/file/magic.mime
[Sun Nov 19 21:33:19 2006] [notice] Apache/1.3.34 (Debian) configured -- resuming normal operations
[Sun Nov 19 21:33:19 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov 19 21:35:21 2006] [notice] SIGHUP received. Attempting to restart
[Sun Nov 19 21:35:21 2006] [error] (2)No such file or directory: mod_mime_magic: can't read magic file /usr/share/misc/file/magic.mime
[Sun Nov 19 21:35:21 2006] [notice] Apache/1.3.34 (Debian) configured -- resuming normal operations
[Sun Nov 19 21:35:21 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov 19 21:38:02 2006] [notice] SIGHUP received. Attempting to restart
[Sun Nov 19 21:38:02 2006] [warn] module setenvif_module is already loaded, skipping
[Sun Nov 19 21:38:02 2006] [error] (2)No such file or directory: mod_mime_magic: can't read magic file /usr/share/misc/file/magic.mime
[Sun Nov 19 21:38:02 2006] [notice] Apache/1.3.34 (Debian) configured -- resuming normal operations
[Sun Nov 19 21:38:02 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov 19 21:39:26 2006] [notice] SIGHUP received. Attempting to restart
[Sun Nov 19 21:39:26 2006] [warn] module setenvif_module is already loaded, skipping
[Sun Nov 19 21:39:26 2006] [error] (2)No such file or directory: mod_mime_magic: can't read magic file /usr/share/misc/file/magic.mime
[Sun Nov 19 21:39:26 2006] [notice] Apache/1.3.34 (Debian) configured -- resuming normal operations
[Sun Nov 19 21:39:26 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov 19 21:42:34 2006] [notice] caught SIGTERM, shutting down
[Sun Nov 19 22:04:22 2006] [error] (2)No such file or directory: mod_mime_magic: can't read magic file /usr/share/misc/file/magic.mime
[Sun Nov 19 22:04:22 2006] [warn] module setenvif_module is already loaded, skipping
[Sun Nov 19 22:04:22 2006] [error] (2)No such file or directory: mod_mime_magic: can't read magic file /usr/share/misc/file/magic.mime
[Sun Nov 19 22:04:22 2006] [notice] Apache/1.3.34 (Debian) configured -- resuming normal operations
[Sun Nov 19 22:04:22 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov 19 22:04:34 2006] [error] [client 62.117.27.50] File does not exist: /home/otrs/www/apache
[Sun Nov 19 22:04:35 2006] [error] [client 62.117.27.50] File does not exist: /home/otrs/www/apache
[Sun Nov 19 22:04:37 2006] [error] [client 62.117.27.50] Directory index forbidden by rule: /home/otrs/www/
[Sun Nov 19 22:04:38 2006] [error] [client 62.117.27.50] Directory index forbidden by rule: /home/otrs/www/
[Sun Nov 19 22:06:33 2006] [notice] SIGHUP received. Attempting to restart
[Sun Nov 19 22:06:33 2006] [warn] module setenvif_module is already loaded, skipping
[Sun Nov 19 22:06:33 2006] [error] (2)No such file or directory: mod_mime_magic: can't read magic file /usr/share/misc/file/magic.mime
[Sun Nov 19 22:06:33 2006] [notice] Apache/1.3.34 (Debian) configured -- resuming normal operations
[Sun Nov 19 22:06:33 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov 19 22:06:35 2006] [error] [client 62.117.27.50] Directory index forbidden by rule: /home/otrs/www/
[Sun Nov 19 22:06:43 2006] [error] [client 62.117.27.50] Directory index forbidden by rule: /home/otrs/www/
[Sun Nov 19 22:06:57 2006] [error] [client 62.117.27.50] Directory index forbidden by rule: /home/otrs/www/
[Sun Nov 19 22:07:00 2006] [error] [client 62.117.27.50] Directory index forbidden by rule: /home/otrs/www/
[Sun Nov 19 22:08:39 2006] [error] [client 62.117.27.50] File does not exist: /home/otrs/www/phpinfo.php
Auch wenn da steht "File does not exist:", so gibt es sie in den besagten Verzeichnissen, sonst würden sie nicht gedownloaded.
Hier noch mein vHost-Eintrag:
Code:
NameVirtualHost otrs.n3tlink.de:80
<VirtualHost otrs.n3tlink.de>
DocumentRoot /home/otrs/www/
ServerName otrs.n3tlink.de
</VirtualHost>
Ich hoffe, ihr könnt mir helfen.
mfg
bwar