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

Alexander M. Batishchev abatishchev at gmail.com
Tue Jan 12 05:23:10 EST 2010


Thanks a lot, Marek!

-----Original Message-----
From: Marek Habersack [mailto:grendel at twistedcode.net] 
Sent: Tuesday, January 12, 2010 1:19 PM
To: Alexander M. Batishchev
Cc: 'Mike Morano'; mono-aspnet-list at lists.ximian.com
Subject: Re: [Mono-aspnet-list] XSP2 ignores page access rights given in
Web.config <location>

On Tue, 12 Jan 2010 13:04:12 +0300
"Alexander M. Batishchev" <abatishchev at gmail.com> wrote:

Hello,
> Hi Mike,
> 
>  
> 
> Unfortunately nothing yet.
> 
> I surely will give you know if find something. Please do the same.
It's already fixed https://bugzilla.novell.com/show_bug.cgi?id=568441

marek
> 
>  
> 
> 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
> 
>  
> 



More information about the Mono-aspnet-list mailing list