~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/user-guide/http_smart_server.txt

  • Committer: Aaron Bentley
  • Date: 2007-08-22 23:59:17 UTC
  • mto: This revision was merged to the branch mainline in revision 2745.
  • Revision ID: aaron.bentley@utoronto.ca-20070822235917-m0im4dpa8wni7q3k
Style tweakage and NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
This instructs Apache to hand requests for any URL ending with `/.bzr/smart`
107
107
inside `/code` to a Bazaar smart server via mod_python.
108
108
 
109
 
NOTE: If you don't have bzrlib in your PATH, you will be need to change the following line:
 
109
NOTE: If you don't have bzrlib in your PATH, you will be need to change the
 
110
following line::
110
111
 
111
112
            PythonPath "sys.path+['/srv/example.com/scripts']"
112
113
 
113
 
To:
 
114
To::
114
115
 
115
116
            PythonPath "['/path/to/bzr']+sys.path+['/srv/example.com/scripts']"
116
117
 
170
171
        return wsgi_server.run(request)
171
172
        
172
173
The `modpywsgi` module can be found at http://trac.pocoo.org/wiki/ModPyWsgi.  It
173
 
is part of pocoo_. 
174
 
You sould make sure you place modpywsgi.py in the same directory as 
 
174
is part of pocoo_.
 
175
You sould make sure you place modpywsgi.py in the same directory as
175
176
bzr-smart.py (ie. /srv/example.com/scripts/).
176
177
 
177
178
.. _pocoo: http://trac.pocoo.org/wiki/