Allow squid/mod_wsgi to pass the HTTP_AUTHORIZATION header to Apache

July 16, 2009 - Remco - django - apache - authorization - django-piston - modwsgi - squid - webservice - Software

So we had some issues using django-piston (a webservice framework for Django) in combination with HTTP Basic authorization. By default both Squid and mod_wsgi will not forward the HTTP_AUTHORIZATION headers to the next layer. So if you have a wsgi application that does its own authorization you need to do the following: In your squid.conf you need to add the login=PASS to the cache_peer entries …

Read More

Latest Tweets