[Mono-list] Using BasicAuthenticationModule

Kevin Berry kevinbe71 at yahoo.com
Mon Jan 21 11:57:32 EST 2008


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.

I've also tried mod_mono as well without success.  The
module I'm using is documented at this URL:

http://www.mono-project.com/ASP.NET_Modules

The web.config file I'm using is similar to the one
below:

<?xml version="1.0"?>
<configuration>
  <appSettings>
    <add key="Basic.Users"
         value="/MySite/MySite_Priv/testusers.xml" />
    <add key="Basic.Realm" value="My Realm" />
  </appSettings>
  <connectionStrings/>
  <system.web>
    <compilation debug="true"/>
    <httpModules>
      <add name="BasicAuthenticationModule"
type="Mono.Http.Modules.BasicAuthenticationModule, 
Mono.Http, Version=1.0.5000.0,
PublicKeyToken=0738eb9f132ed756" />
    </httpModules>
  </system.web>
</configuration>

Is there any way I can troubleshoot whether these
settings are even being used by XSP?  It seems to me
that they're simply being ignored.

Thanks,
Kevin.


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


More information about the Mono-list mailing list