{"id":386,"date":"2009-04-15T10:17:05","date_gmt":"2009-04-15T15:17:05","guid":{"rendered":"http:\/\/crschmidt.net\/blog\/?p=386"},"modified":"2009-04-15T10:17:05","modified_gmt":"2009-04-15T15:17:05","slug":"wsgi-basic-auth","status":"publish","type":"post","link":"https:\/\/crschmidt.net\/blog\/archives\/386\/wsgi-basic-auth\/","title":{"rendered":"WSGI + Basic Auth"},"content":{"rendered":"<p>I use the <a href=\"http:\/\/www.djangosnippets.org\/snippets\/243\/\">logged_in_or_basicauth<\/a> snippet for a lot of my work, and had had some problems with it since I started using mod_wsgi in place of mod_python. Thanks to <a href=\"http:\/\/www.arnebrodowski.de\/blog\/508-Django,-mod_wsgi-and-HTTP-Authentication.html\">this post<\/a>, I now know why my basic auth under mod_wsgi isn&#8217;t working: lack of <tt>WSGIPassAuthorization On<\/tt> in my Apache config.<\/p>\n<p>Thanks to the author of that post! Also, thanks to Google, since without it, I&#8217;d never have found it. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I use the logged_in_or_basicauth snippet for a lot of my work, and had had some problems with it since I started using mod_wsgi in place of mod_python. Thanks to this post, I now know why my basic auth under mod_wsgi isn&#8217;t working: lack of WSGIPassAuthorization On in my Apache config. Thanks to the author of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-386","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/comments?post=386"}],"version-history":[{"count":0,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/386\/revisions"}],"wp:attachment":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/media?parent=386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/categories?post=386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/tags?post=386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}