The PHP Filter did not receive suitable input data
| From: | bvr | Date: | Sat, 06 Apr 2002 23:14:15 +0000 |
| Subject: | The PHP Filter did not receive suitable input data | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-91891@lists.php.net to get a copy of this message | ||
Hello!
I'm expirimenting with apache 2 and PHP, I've got things running but there's one problem left:
When I request a directory, and the index is a PHP script, the following error is reported to the client:
'The PHP Filter did not receive suitable input data'
Apache also reports this error to his error_log:
'Directory index forbidden by rule: <name of the PHP script!>'
And when I enable the 'Indexes' option, Apache logs:
'Not a directory: Can't open directory for index: <name of the PHP script!>'
I'm using my Apache 1.3 configuration but with Filters instead of AddType , I hope this is simply a configuration issue.
versions used:
Apache 2.0.35
PHP 4.3.0-cvs (03 Apr 2002 23:53 GMT+1)
apache conf:
# PHP
LoadModule php4_module modules/libphp4.so
<FilesMatch "\.(phpc?|phtml)$">
SetOutputFilter PHP
SetInputFilter PHP
</FilesMatch>
# Indexes
DirectoryIndex index.phtml index.html index.php
Any clues ?
Thanks,
bvr.