I've started a new Django project for Openshift following the github example.
According to this openshift post the project folder structure can be simplified. I tried this so now, I only have setup.py openshift wsgi.py
files in my repo root. Having this, I tried to serve static files with apache with the following .htaccess:
RewriteEngine On RewriteRule ^application/static/(.+)$ /static/$1 [L]
But it does not work. It only works if I recreate the wsgi directory and place static folder under it (modifying settings and config files to find them there ofc.).
I guess it is something related with the .htaccess but don't know how to modify it in order to find static files in the repo root folder.
Any guesses?