[Mono-bugs] [Bug 509069] New: Can't set different handlers for subdirectories

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 2 08:58:34 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=509069


           Summary: Can't set different handlers for subdirectories
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: kornelpal at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


I've tried to use <location path="cgi-bin"> ... </location> and put a
web.config file to the cgi-bin directory:

<configuration>
    <system.web>
        <httpHandlers>
            <clear/>
            <add verb="*" path="*" type="System.Web.HttpForbiddenHandler"
validate="true"/>
        </httpHandlers>
    </system.web>
</configuration>

None of them worked, I still was able to access files in the cgi-bin directory.

If I put the same web.config file to the applications directory everything
works as expected but applies to the entire app.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list