I deployed my website made with flask to bluehost following the tutorial here. Namely I used apache and fastcgi. In the my application.fcgi file, I have:
#! /home2/wandonye/python/python34/envs/flask/bin/python
project = "vshare"
from flup.server.fcgi import WSGIServer
from vshare import create_app
application = create_app()
WSGIServer(application).run()
But then every link generated by url_for has an extra myapplication.fcgi in it. So instead of having "www.mydomain.com/signin" I got "www.mydomain.com/myapplication.fcgi/signin".
Feels like my PROJECT_ROOT is changed.
I used to deploy the website on my own computer with apache+uWSGI without any problem.
Is there anything special about fastcgi I should keep in mind? How can I remove the unwanted "myapplication.fcgi" in my links.