Hello,
I configure my virtual server:
# bug.mj41.cz
<VirtualHost *:80>
ServerName bug.mj41.cz
# etc
<Location /dir>
RemoveHandler .php
ForceType text/plain
</Location>
<Location /dir/subdir>
RemoveHandler .php
ForceType text/plain
</Location>
</VirtualHost>
I put the same 'index.php' to directories
'/'
'/dir/'
'/dir/subdir'
(inside DocumentRoot).
Result for http://bug.mj41.cz/index.php and
http://bug.mj41.cz/dir/index.php are ok.
But what about result of http://bug.mj41.cz/dir/subdir/index.php ?
'dir/subdir/index.php' output is
"
php runs
"
so it is not same as that of 'dir/index.php' which is
"
<?php
echo "php runs\n";
?>
".
Did I missed anything? Thanks.
Server runs Apache/2.0.52 (CentOS).
--
S pozdravem Michal Jurosz
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]