[ckan-dev] ckan and apache

David Read david.read at hackneyworkshop.com
Fri May 3 13:37:33 UTC 2013


This is a FAQ and answered on StackOverflow:
http://stackoverflow.com/questions/5485790/mod-wsgi-pylons-ckan-installation-not-working

David

On 2 May 2013 18:29, Marina S. Martin <marina at marinamartin.com> wrote:
> I wrote this up a couple weeks ago:
> https://github.com/okfn/ckan/wiki/How-to-Install-CKAN-2.0-from-source-on-Ubuntu-12.04-on-EC2
>
>
> On Thu, May 2, 2013 at 12: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
>>
>
>
> _______________________________________________
> 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
>




More information about the ckan-dev mailing list