Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install proxiedssl

How to install proxiedssl

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install proxiedssl
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1.1 Available View build log
0.1 Available View build log
Windows (64-bit)
0.1.1 Available View build log
0.1 Available View build log
Mac OS X (10.5+)
0.1.1 Available View build log
0.1 Available View build log
Linux (32-bit)
0.1.1 Available View build log
0.1 Available View build log
Linux (64-bit)
0.1.1 Available View build log
0.1 Available View build log
 
Dependencies
Imports
Lastest release
version 0.1.1 on Jan 6th, 2012

Introduction

This module provides a Django middleware class, proxiedssl.middleware.ProxiedSslWsgiMiddleware, that looks for one of two headers and sets the WSGI URL scheme to the value of the header. This allows a proxy server that handles SSL to notify the Django WSGI request handler that the end user is accessing the site through SSL.

Installation

Add proxiedssl.middleware.ProxiedSslWsgiMiddleware to the MIDDLEWARE_CLASSES tuple in your settings file. It would be best if it was first so that the is_secure method is accurate for the other middleware classes.

Requirements

Django and you currently must be using the WSGI handler either through a WSGI server or through the FCGI server which is a wrapper around the WSGI server.

TODO

  • Add a middleware class for the mod_python handler
  • Add full unit tests

0.1.1 (2012/01/05)

  • Added debug logging output for all possibilities

0.1 (2011/04/18)

  • Initial code

Subscribe to package updates

Last updated Jan 6th, 2012

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.