https://issues.apache.org/bugzilla/show_bug.cgi?id=47754

           Summary: MultiViewsMatch does not apply in a <Location> section
           Product: Apache httpd-2
           Version: 2.2.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_negotiation
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Andrew Pimlott <[email protected]> 2009-08-27 19:02:45 PDT 
---
I have a configuration directive

<Location />
    AddHandler cgi-script cgi
    Options +ExecCGI +MultiViews
    MultiViewsMatch Handlers
</Location>

so that I can access cgi scripts without extensions, eg http://localhost/foo
runs foo.cgi in the document root.  The first two directives take effect, as
http://localhost/foo.cgi works as expected.  But when I access just /foo, I get
the "None could be negotiated" error.  It seems that the MultiViewsMatch
Handlers directive is not applied.  If I instead change Location to a
Directory, it works:

<Directory /home>
    AddHandler cgi-script cgi
    Options +ExecCGI +MultiViews
    MultiViewsMatch Handlers
</Directory>

Now, http://localhost/foo works.  So it looks as though MultiViewsMatch has no
effect in a Location section.

Andrew

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to