[Mono-list] Using BasicAuthenticationModule

Christian López Espínola penyaskito at gmail.com
Sat Jan 26 13:03:29 EST 2008


Hi Kevin,

The website is powered by Wikimedia.
You can see the history of the page at
http://www.mono-project.com/index.php?title=ASP.NET_Modules&action=history

Hope this helps

On Jan 26, 2008 6:23 PM, Kevin Berry <kevinbe71 at yahoo.com> wrote:
> Is nobody doing this?  I haven't received any replies
> yet.  Is anybody using authentication of any kind
> (that isn't the built-in Apache authentication)?
>
> In any case, I've managed to now get this working with
> Apache's basic auth module but this isn't great
> because I now have to maintain two password lists- one
> for Apache and one for my app.  That really sucks.
>
> As an alternative, I'd like to find out who updated
> this web page last so I can e-mail them about this:
> http://www.mono-project.com/ASP.NET_Modules
>
> Does anyone know how I can find that out?
>
> Thanks,
> Kevin.
>
>
> --- Kevin Berry <kevinbe71 at yahoo.com> 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.
> >
> > 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
> > _______________________________________________
> > Mono-list maillist  -  Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
>
>
>
>       ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>



-- 
Regards,

Christian López Espínola


More information about the Mono-list mailing list