I am unsure of what has happened, but i've followed a few guides that i've found around on the internet about serving media files through static folder (served from the $OPENSHIFT_DATA_DIR) by using mod_rewrite. The only problem now is, my admin files no longer get served and I'm struggling to fix it.
RewriteEngine On
RewriteRule ^application/media/(.+)$ /static/$1 [L]
The above works fine for the /media/ files that are uploaded by my users however there is a huge problem when it comes to the admin files being served. They seem to have just literally stopped being served from /static/admin/.