Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an OpenShift DIY app running Python. However, I cannot reach static files like html. (or run php) If I try accessing:, I get: uWSGI Error Python application not found.

Could you please help how i can make html files accessible? My directories like:

   diy << It server all requests to the domain, however if it doesn't
      hello.html / exists, than I get the above error
share|improve this question

The Python cartridges that you get with OpenShift is simply an Apache web serve that uses mod_wsgi to server your content. This means that you content that Apache directs you to most be severed by a mod_wsgi server/components.

Typically with a Python Cartridge you will extend the cartridge with a Web Framework to better help you sever static content such as this. Some examples of typical frameworks that are use are:

However out of the box (unless you are willing to edit your gears python/etc/conf.d/openshift.conf file which can break your gear) you can not route to static traffic with out using a WSGI framework.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.