[Mono-aspnet-list] XSP2 ignores page access rights given in Web.config <location>

Alexander M. Batishchev abatishchev at gmail.com
Sun Jan 3 17:07:15 EST 2010


I'm porting my ASP.NET application (2.0 controls and 3.5 syntax) onto Mono
and testing it using XSP2.

Mono from trunk, gmcs ver.
XSP2 from trunk, ver., runtime ver. 2.4.3; ASP.NET ver.

As it's said on http://msdn.microsoft.com/en-us/library/b6x6shw7.aspx and
http://www.mono-project.com/Config_system.web I allowed anonymous access to
Logout.aspx and styles.css (for design of Login and Logout pages) in
Web.config the following way:

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

This works fine in Visual Studio ASP.NET Development Server, IIS6 and IIS7
but in XSP - not! XSP ignores it: shows Login page without design until user
has successfully logged in and requires user to be logged in to access
Logout page.

I tried to use application relative path like "~/Login.aspx" but it didn't

Why? How can I fix that?
Thanks in advance!
View this message in context: http://old.nabble.com/XSP2-ignores-page-access-rights-given-in-Web.config-%3Clocation%3E-tp26992738p26992738.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.

More information about the Mono-aspnet-list mailing list