On Sun, 13 Jan 2002 14:53:21 -0500
"Carsten Klapp" <car...@ma...> wrote:
> The server encountered an internal error or misconfiguration and was
> unable to complete your request.
>
> The problem is the first line:
>
> <IfModule mod_php4.c>
It doesn't seem right that this should cause an internal server error by
itself. One should be able to do:
<IfModule mod_nonexisting_module.c>
All kinds of terrible things,
which apache normally would,
not like at all
</IfModule>
...as long as mod_nonexiting_module.c really doesn't exist, it shouldn't
bother Apache at all.
If sometimes PHP4 is in mod_php4.c and sometimes in mod_php.c, it seems
the correct solution is:
<IfModule mod_php4.c>
php_flag register_globals off
php_flag track_vars on
php_flag allow_url_fopen off
</IfModule>
<IfModule mod_php.c>
php_flag register_globals off
php_flag track_vars on
php_flag allow_url_fopen off
</IfModule>
But, if I understand you correctly, you're saying this causes problems for
you?
Maybe we should comment out everything in the distributed .htaccess file,
and encourage people to adjust as appropriate for their
installation.(PhpWiki, in stock configuration, runs fine even without an
.htacess, right?)
PS: according to comments in my RedHat distributed httpd.conf, mod_php.c
is PHP/FI (PHP2).
|