[Mono-list] Using BasicAuthenticationModule
Robert Jordan
robertj at gmx.net
Sat Jan 26 13:38:29 EST 2008
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>
Robert
More information about the Mono-list
mailing list