Search code examples
importopenshiftwsgicherrypy

Run cherrypy example on openshift


So, I have a python 2.6 + cherrypy app on openshift. Their example application uses the cherrypy WSGI server ,that I know nothing about, with the cherrypy framework, but I would like to run the standart cherrypy server instead, like shown in the example on the cherrypy website, which doesn't work (says "Permission denied"). Any ideas?

I know that it is really easy to convert a standart cherrypy app into a WSGI app, but still.

EDIT: Yes, I would like to use both: the cherrypy framework and the cherrypy server

Also, you know how you can use import to import .py files in the same dir? that also doesn't work, so I'm wondering if that's an openshift-specific thing, not possible with python 2.6, or just me missing something.

Thanks.


Solution

  • Have a read of:

    You can supply an app.py file to override the use of default Apache/mod_wsgi.