also ich glaub das ist momentan noch mein einziges verbleibendes Problem, sonst hab ich meinen Server soweit UpToDate.
*.php geht wunderbar, Dateiendungen mit php3 und php4 werden nicht geparst, wird also der php quelltext angezeigt im browser.
Also ich hab jetzt hier schon vieles diesbezüglich gelesen, hat mir aber nicht wirklich weiter geholfen.
Also mein Apache ist ein 1.3.27 und mein php ist ein 4.2.3.
Auszug aus meiner suse_loadmodule.conf:
Code: Select all
LoadModule perl_module /usr/lib/apache/libperl.so
LoadModule ssl_module /usr/lib/apache/libssl.so
LoadModule userdir_module /usr/lib/apache/mod_userdir.so
LoadModule php4_module /usr/lib/apache/libphp4.so
Code: Select all
<IfDefine DUMMYSSL>
AddModule mod_ssl.c
AddModule mod_php4.c
</IfDefine>
Code: Select all
# Protect the php3 test page, so it cannot be viewed from an outside system.
#
<Files test.php3>
Order deny,allow
deny from all
allow from localhost
</Files>
Code: Select all
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.php index.php4 index.php3
</IfModule>
Code: Select all
#<IfModule mod_php3.c>
#AddType application/x-httpd-php .php3
#AddType application/x-httpd-php-source .phps
#AddType application/x-httpd-php .phtml
#</IfModule>
#
# And for PHP 4.x, use:
#
<IfModule mod_php4.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps
</IfModule>
Code: Select all
#SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire
<Files ~ ".(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
Danke
gruß
petter
