RemoveHandler bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux