Mono XSP ignores the <location> directive in Web.Config

I am transferring the application ASP.NETto Mono. I built it from SVN trunkunder Debian5.0.

I allow anonymous access to Logout.aspxand styles.cssusing directives Web.config:

<location path="Logout.aspx">
    <system.web>
        <authorization>
            <allow users="*" />
        </authorization>
    </system.web>
</location>
<location path="styles.css">
    <system.web>
        <authorization>
            <allow users="*" />
        </authorization>
    </system.web>
</location>

It works fine under Visual Studio Web Server, IIS6and IIS7, but is not under XSP22.5.0.0. Are there any workarounds or ways to accomplish the same task, but in a different way?

I mean what doesn't work - redirect request to Login.aspx

+3
source share
1 answer

, -, ​​ 9- jan. . mono bugzilla

, () , css js - .

+2

Source: https://habr.com/ru/post/1727048/


All Articles