I am trying to deploy a flash application in expresshift express. The problem is that links to css files do not work. The layout of my application folder is as follows:
/wsgi /static /myapp /main /pages /static
Here "wsgi" and the first "static" folders are provided by openshift. However, I put all the static files inside the main / static and created a flash application inside the myapp / _init _ .py file as follows:
app = Flask("myapp", template_folder='main/pages', static_folder='main/static')
Now, the readme file inside the static folder provided by openshift says that to serve static files from a different path, I have to use the .htaccess file to overwrite the url. But I could not understand. Of course, the problem disappears if I copy all my static files to the first "static" folder provided by openshift. I just don't want that. So, can someone help me maintain my static files from my own static folder?
source share