~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

(Marius Kruger) Update the wsgi bindings to load plugins and enable
        logging (optional)

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
        root='/srv/example.com/www/code',
136
136
        prefix='/code/',
137
137
        path_var='REQUEST_URI',
138
 
        readonly=True)
 
138
        readonly=True,
 
139
        load_plugins=True, 
 
140
        enable_logging=True)
139
141
 
140
142
    fcgi.WSGIServer(smart_server_app).run()
141
143
        
159
161
        root='/srv/example.com/www/code',
160
162
        prefix='/code/',
161
163
        path_var='REQUEST_URI',
162
 
        readonly=True)
 
164
        readonly=True,
 
165
        load_plugins=True, 
 
166
        enable_logging=True)
163
167
 
164
168
    def handler(request):
165
169
        """Handle a single request."""