[Mono-list] Forms Authentication in ASP.Net

Adriaan van Kekem adriaanvk at gmail.com
Fri Jul 6 05:48:47 EDT 2007


Hi,

Which webserver are u running? It seems that you have running the mono
handler on all type of files. In apache you have configure it with
SetHandler mono, so all files are handled. If it's allowed to download those
files, you can give anonymous rights to that files in your web.config:
 <authorization>
      <allow users="?"/>
or you can use AddHandler to prevent js files to be handled by mono.

Adriaan



Amit Goswami wrote:
> 
> Hello,
> I'm using Mono 1.2.4 on Windows XP for developing an Asp.Net 1.1 website.
> I've set it up for Forms authentication, and the settings in Web.Config
> look like this:
> 
> <authentication mode="Forms">
> 
> <forms name=".myapp" protection="All" loginUrl="Login.aspx" path="/"
> timeout="120" />
> 
> </authentication>
> 
> The problem is, the Login.aspx page includes some css and js resources,
> and when I look at the HTTP trace using Fiddler I can see that those
> resources are not being served. I don't have this problem when the site is
> run using IIS.
> 
> There is also a request for
> "/WebResource.axd?a=s&r=WebUIValidation.js&t=6333..." which is also not
> being served. (Isn't WebResource.axd specific to .net 2.0?) 
> 
> Any ideas?
> 
> Thanks
> 
> Amit
> 
>  
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Forms-Authentication-in-ASP.Net-tf4032156.html#a11461312
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list