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 ...
[...]
Categories
Latest posts
- Using gp.vcsdevelop for vcs dependencies in zc.buildout
- Django "view-permissions" for related objects
- Openfiler permission problems with shares on MacOSX and Windows
- Allow squid/mod_wsgi to pass the HTTP_AUTHORIZATION header to Apache
- Using Fabric to update a remote svn checkout with ssh public key authentication
- Proper access rights with SSH+SVN
- Allow ssh-agent to work when using sudo
- Using a jumpbox with subversion
- Installing Openfiler - Part 2
- Using mysql load data infile with django
