What is the status of the location tag for web.config?

The following chokes:

<configuration>

        <system.web>

                <authentication mode="Forms">
                        <forms name=".WSUSAUTH" loginUrl="login.aspx" 
protection="All" />
                </authentication>
                
                <authorization>
                        <deny users="?"/>
                </authorization>

        </system.web>

        <location path="somePath">

                <system.web>

                        <authorization>
                                <allow users="*" />
                        </authorization>

                </system.web>

        </location>

</configuration>


with the error "The section <authorization> is defined more than once in the 
same configuration file."

The config works for IIS, but chokes on both Windows and Linux xsp2.  I have 
seen prior postings to the list on this, but unclear as to the resolution.

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to