[ckan-dev] ckan and apache

Toby Dacre toby.okfn at gmail.com
Thu May 2 16:29:32 UTC 2013


Does anyone have any decent documentation on setting up ckan on apache?

what I'm after is

domain/ goes to my main app
domain/data goes to ckan

the current documentation does not seem to cover this usecase which seems
quite a normal thing to do and the basic setup seems to not even work for
me :(.

cheers

toby


WSGIScriptAlias / /home/toby/okfn/pyenv/src/ckan/wsgi.py

in the httpd.conf just gives me all this crap


[Thu May 02 17:30:35 2013] [error] [client ::1]   File
"/home/toby/okfn/pyenv/src/ckan/ckan/config/middleware.py", line 213, in
__call__
[Thu May 02 17:30:35 2013] [error] [client ::1]     return
self.app(environ, start_response)
[Thu May 02 17:30:35 2013] [error] [client ::1]   File
"/home/toby/okfn/pyenv/lib/python2.7/site-packages/paste/registry.py", line
379, in __call__
[Thu May 02 17:30:35 2013] [error] [client ::1]     app_iter =
self.application(environ, start_response)
[Thu May 02 17:30:35 2013] [error] [client ::1]   File
"/home/toby/okfn/pyenv/lib/python2.7/site-packages/repoze/who/middleware.py",
line 107, in __call__
[Thu May 02 17:30:35 2013] [error] [client ::1]     app_iter = app(environ,
wrapper.wrap_start_response)
[Thu May 02 17:30:35 2013] [error] [client ::1]   File
"/home/toby/okfn/pyenv/lib/python2.7/site-packages/pylons/middleware.py",
line 201, in __call__
[Thu May 02 17:30:35 2013] [error] [client ::1]     self.app, environ,
catch_exc_info=True)
[Thu May 02 17:30:35 2013] [error] [client ::1]   File
"/home/toby/okfn/pyenv/lib/python2.7/site-packages/pylons/util.py", line
94, in call_wsgi_application
[Thu May 02 17:30:35 2013] [error] [client ::1]     app_iter =
application(environ, start_response)
[Thu May 02 17:30:35 2013] [error] [client ::1]   File
"/home/toby/okfn/pyenv/lib/python2.7/site-packages/weberror/evalexception.py",
line 226, in __call__
[Thu May 02 17:30:35 2013] [error] [client ::1]     "The EvalException
middleware is not usable in a "
[Thu May 02 17:30:35 2013] [error] [client ::1] AssertionError: The
EvalException middleware is not usable in a multi-process environment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130502/ae41fe5d/attachment.html>


More information about the ckan-dev mailing list