[Mono-list] Problem with FormsAuthentication
carl at carl-olsen.com
Sun Jul 10 18:28:10 EDT 2005
loginUrl="/Administration/Login.aspx" protection="All" timeout="60" path"/"
<allow users="*" />
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Jesse Pasichnyk
Sent: Sunday, July 10, 2005 4:24 PM
To: mono-list at lists.ximian.com
Subject: [Mono-list] Problem with FormsAuthentication
I just upgraded to the stable version of mono on my RHEL4 box.
I have an ASP.NET (v1.1) application that I'm working on that has a login
section for administration. This works fine on IIS/MS Framework. However
when I run it on the linux box under mono it has unexpected behavior.
The Web.config section to setup the forms based authentication is as
loginUrl="Administration/Login.aspx" protection="All" timeout="60"
<deny users="?" />
On my MS box I when I try to go to localhost/Administration it forwards me
however on my MONO/linux box when I go to the same url I get forwarded to
the same url:
The problem starts here. When it forwards me to this login page, now I
don't see the forms login like I do under MS .NET; I instead get a server
error as follows:
Server error in '/' application
Description: Error processing request.
Error Message: HTTP 401. Unauthorized
If anyone has any insight as to why this is happening and how I can fix it,
please let me know. I need to get this site to production ASAP.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list