Answer the question
In order to leave comments, you need to log in
What is the error when raising the server on Flask?
We need a simple server on python, I chose Flask on Beget. I used this instruction , the local python got up normally, went to the point about Flask and there was a problem, as I understand it, redirection from public_html to the Flask directory does not work due to a crooked symlink when typing into the file manager, it gives an error, but when prescribing the full path to the public, nothing does not change (the command to restart was performed).
.htaccess(no question here):
PassengerEnabled On
PassengerPython /home/d/donat4yq/.local/bin/python3.8
passenger_wsgi.py(different lines):
sys.path.append('/home/d/donat4yq/flask/ HelloFlask/')
sys.path.append('/home/d/donat4yq/.local/lib/python3.8/site-packages')
I don't know what else to attach.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question