We have a website running on Apache, access to which has a number of static pages protected via HTTP Basic authentication.
I\'ve written a new part of the site with
For just supporting basic auth on some requests (and not mucking with the web server -- which is how someone might interpret your question title), you will want to look here:
http://www.djangosnippets.org/snippets/243/