« Return to Thread: Forms Authentication in ASP.Net

Re: Forms Authentication in ASP.Net

by Adriaan van Kekem :: Rate this Message:

Reply to Author | View in Thread

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@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

 « Return to Thread: Forms Authentication in ASP.Net