And if you're using Apache with mod_wsgi and you want to use basic
authentication with a web2py service, don't forget to add the line
"WSGIPassAuthorization On" to wsgi.conf under /etc/apache2/mods-
enabled  I spent over an hour trying to figure out why I wasn't able
to do basic authentication before I ran across a prior post that
described this essential step.

On Sep 8, 8:58 pm, Anthony <[email protected]> wrote:
> Have you tried
>
> auth.settings.allow_basic_login = True
>
> Seehttp://web2py.com/book/default/chapter/08#Access-Control-and-Basic-Au....
>
> Anthony
>
>
>
>
>
>
>
> On Thursday, September 8, 2011 7:48:04 PM UTC-4, Matt wrote:
>
> > Hi there,
>
> > I have a very quick question about basic authentication.
>
> > Does web2py support this approach?
>
> > https://username:[email protected]/index
>
> > Matt

Reply via email to