[Mono-aspnet-list] XSP2 ignores page access rights given in Web.config <location>
Alexander M. Batishchev
abatishchev at gmail.com
Tue Jan 12 05:04:12 EST 2010
Hi Mike,
Unfortunately nothing yet.
I surely will give you know if find something. Please do the same.
Thanks,
Alex
From: Mike Morano [mailto:mmorano at mikeandwan.us]
Sent: Saturday, January 09, 2010 6:59 AM
To: Alexander M. Batishchev
Subject: Re: [Mono-aspnet-list] XSP2 ignores page access rights given in
Web.config <location>
Hey Alexander,
Did you have any luck with this? I just tried upgrading from 2.4.2.3 to
2.6.1, and am running into the same issue with my site, which previously
worked just fine. I ended up rolling back to 2.4.2.3, and things appear to
be back in order.
Thanks,
-Mike
On Sun, Jan 3, 2010 at 17:07, Alexander M. Batishchev <
<mailto:abatishchev at gmail.com> abatishchev at gmail.com> wrote:
Hello!
I'm porting my <http://ASP.NET> ASP.NET application (2.0 controls and 3.5
syntax) onto Mono
and testing it using XSP2.
Mono from trunk, gmcs ver. 2.7.0.0
XSP2 from trunk, ver. 2.5.0.0, runtime ver. 2.4.3; <http://ASP.NET> ASP.NET
ver.
2.0.50727.1433
As it's said on <http://msdn.microsoft.com/en-us/library/b6x6shw7.aspx>
http://msdn.microsoft.com/en-us/library/b6x6shw7.aspx and
<http://www.mono-project.com/Config_system.web>
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:
<configuration>
<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>
</configuration>
This works fine in Visual Studio <http://ASP.NET> 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
helped.
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>
http://old.nabble.com/XSP2-ignores-page-access-rights-given-in-Web.config-%3
Clocation%3E-tp26992738p26992738.html
Sent from the Mono - <http://ASP.NET> ASP.NET mailing list archive at
Nabble.com.
_______________________________________________
Mono-aspnet-list mailing list
<mailto:Mono-aspnet-list at lists.ximian.com>
Mono-aspnet-list at lists.ximian.com
<http://lists.ximian.com/mailman/listinfo/mono-aspnet-list>
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20100112/e7f674d1/attachment.html
More information about the Mono-aspnet-list
mailing list