[ckan-dev] ckan and apache

David Raznick david.raznick at okfn.org
Thu May 2 16:43:19 UTC 2013


This looks like you are in debug mode.  So that is why its broken.




On Thu, May 2, 2013 at 5:29 PM, Toby Dacre <toby.okfn at gmail.com> wrote:

> 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
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130502/05c4ae13/attachment-0001.html>


More information about the ckan-dev mailing list