[Mono-list] Using BasicAuthenticationModule

Robert Jordan robertj at gmx.net
Sat Jan 26 13:47:11 EST 2008

Robert Jordan wrote:
> Kevin Berry wrote:
>> I'm trying to use BasicAuthenticationModule and I
>> haven't managed to get it to do anything.  It just
>> seems to ignore the web.config file I've created
>> below.  I created a test.html file in the root folder
>> (where the web.config file is located) and launched
>> xsp in that same folder.  I'm expecting it to prompt
>> the user for a login and password but nothing happens.
> These auth modules cannot protect other files than those for
> which an ASP.NET handler exists, so you may want to add a
> StaticFileHandler for .html:
> <httpHandlers>
> 	<add verb="GET" path="*.html" type="System.Web.StaticFileHandler, 
> System.Web, Version ... "
> </httpHandlers>

Opps, there is already a handler for "*" in machine.config,
so this is not the reason of the failure.

Please file a bug for System.Web at http://mono-project.com/Bugs.


More information about the Mono-list mailing list