Which of the following are you wanting to do:
1. Have Apache handle HTTP Basic authentication, with reference to a
user database managed by Apache, such as htpasswd file? If this, see
Apache documentation:
http://httpd.apache.org/docs/2.2/howto/auth.html
See Apache 2.0 documentation of using older Apache as there are some
differences in some cases.
2. Have Apache handle HTTP Basic authentication, with Python code
provided through mod_wsgi hooks to allow user database checks to be
handled by your own custom code? If this, then covered by mod_wsgi
documentation you have already been looking at:
http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms
3. Allow a WSGI application to handle the HTTP Basic authentication?
If this, then you just need to enable passing of authentication
headers to WSGI application using WSGIPassAuthentication directive.
See:
http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIPassAuthorization
So, please clarify which you actually want, then I'll go and ask
questions about what you expect to see and what you are getting.
Graham