[Flask] [Deploying Flask with apache-wsgi] Problem

taushif khan taushifkhan at gmail.com
Fri Jul 1 06:03:17 EDT 2016


Hi,
I am trying to put my flask-application to the web by deploying it with
apache2-wsgi. But there is a problem of permissions to read a file from the
root user.

My appliaction takes a input from the user. the input is a 3D coordinate
file. Then my codes in the backend compiles the results and writes them ia
a json file. The flask application then reades the json file and gives
result.

During the development it was smooth and both upload and download by the
server was performed with out any issues. But once I but the app in the
deployment its giving a pain.

Any suggestion to fix the permission issue during deployment in production
server. Wll be helpful.

-- 
With regards,

Taushif Khan
Ph.D.
PostDoc Research
Interuniversity Institute of Bioinformatics in Brussels
<http://ibsquare.be/>
Brussels, Belgium


*The true sign of intelligence is not knowledge but imagination.
<http://www.brainyquote.com/quotes/quotes/a/alberteins148802.html> *[*Einstein
<http://www.brainyquote.com/quotes/quotes/a/alberteins148802.html> A]*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20160701/36cb9e30/attachment.html>


More information about the Flask mailing list