Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 10 and Version 11 of ModPythonIntegration


Ignore:
Timestamp:
12/16/05 12:40:58 (14 years ago)
Author:
warren@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ModPythonIntegration

    v10 v11  
    8383    cherrypy.config.update(file=sys.argv[1]) 
    8484elif exists(join(dirname(__file__), "setup.py")): 
    85     cherrypy.config.update(file="/dev.cfg") 
     85    cherrypy.config.update(file="dev.cfg") 
    8686else: 
    8787    cherrypy.config.update(file="prod.cfg") 
     
    9292#    cherrypy.config.update(file=sys.argv[1]) 
    9393if exists(join(dirname(__file__), "setup.py")): 
    94     cherrypy.config.update(file="/dev.cfg") 
     94    cherrypy.config.update(file="dev.cfg") 
    9595else: 
    9696    cherrypy.config.update(file="prod.cfg") 
     
    9898 
    9999Also, you may have to put the full pathname for the .cfg filename in order for turbogears to find it. 
     100 
     101Note about cookies: 
     102 
     103As of MPCP ver 1.2, sending multiple cookies does not work.  This is becuase MPCP doesn't send duplicate headers, but is easy to fix.  To allow duplicate headers, change lines 122 and 123 to read: 
     104{{{ 
     105                elif tv is str: 
     106                        req.headers_out[header] = value 
     107}}}