Django

Code

Changeset 3927

Show
Ignore:
Timestamp:
10/24/06 11:54:32 (2 years ago)
Author:
adrian
Message:

Fixed #2865 -- Reverted [3866] (problem with mod_python SERVER_PORT

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/core/handlers/modpython.py

    r3919 r3927  
    103103                'SCRIPT_NAME':       None, # Not supported 
    104104                'SERVER_NAME':       self._req.server.server_hostname, 
    105                 'SERVER_PORT':       str(self._req.connection.local_addr[1])
     105                'SERVER_PORT':       self._req.server.port
    106106                'SERVER_PROTOCOL':   self._req.protocol, 
    107107                'SERVER_SOFTWARE':   'mod_python'