~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to start-loggerhead

  • Committer: Michael Hudson
  • Date: 2009-02-10 01:25:34 UTC
  • Revision ID: michael.hudson@canonical.com-20090210012534-gnj6tf3iryq6wqiv
apply neror's patch to fix bug #260547 ("start-loggerhead script doesn't properly set the wsgi.url_scheme from the server.webpath option")

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
        def app(environ, start_response, orig=app):
116
116
            environ['SCRIPT_NAME'] = path
117
117
            environ['HTTP_HOST'] = netloc
 
118
            environ['wsgi.url_scheme'] = scheme
118
119
            return orig(environ, start_response)
119
120
 
120
121
    try: