OpenShift, python 2.7 and static files with htaccess
问题 I'm trying to configure apache to serve static files for URLs like site.com/img/bla.jpg . Python cartridge + flask. I know what there is an preconfigured alias for wsg/static directory, so we can use site.com/static/bla.jpg . But I need additional static directory. Project structure: /wsgi .htaccess /img -> $OPENSHIFT_DATA_DIR/some/path (soft link) /static application In the backend I binded mysite.com/img/<filename> for testing if apache or backend handles files - it returns "ok [filename]"