httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44031] New: - RemoveHandler inside subdir location
Date Thu, 06 Dec 2007 12:12:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44031>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44031

           Summary: RemoveHandler inside subdir location
           Product: Apache httpd-2
           Version: 2.0.55
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_mime
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: apache@mj41.cz


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";

?>
".

Server runs Apache/2.0.52 (CentOS).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message