PHP in subdirectory - failing ?
Hello fellow ispconfigers,
I seem to have a problem: PHP scripts will get executed in the main (../web) directory , but not in a subdirectory. PHP and PHP safe mode are activated.
To test this I made an index.php ind ../web , and the same file in ../web/Webseiten
Then I called them directly from Firefox.
The one in ../web behaves as wanted, the one in ../web/Webseiten does not execute the php part.
Why ?
Addendum: in the error log I see [Thu Dec 11 12:04:15 2008] [warn] Cannot get media type from 'x-mapp-php5', only if the index_.php file is called from the ../web/Webseite directory.
TIA
Peter
PS: index.php:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Hallo-Welt-Beispiel</title>
</head>
<body>
<p>html-test</p>
<?php
echo "php-test!";
?>
</body>
</html>
Last edited by DHDSP; 11th December 2008 at 12:45.
|
Recent comments
1 day 14 hours ago
1 day 16 hours ago
2 days 4 hours ago
2 days 7 hours ago
2 days 11 hours ago
2 days 17 hours ago
3 days 3 hours ago
3 days 5 hours ago
3 days 13 hours ago
3 days 14 hours ago