And does /var/www/flask_stuff_files/templates/analysis exist? Does it have to
be a directory or a file? For uploads those directories will need to be
writable to Apache user.
> On 22 Aug 2016, at 8:52 AM, Tierprot B. wrote:
>
> Hmm and now im more confused, i copied server
Hmm and now im more confused, i copied server files from
/home/user/flask_stuff_files
to the new directory /var/www/flask_stuff_files and corrected Apache conf,
now it looks like:
apache-wsgi config:
ServerName www.example.com
DocumentRoot
> On 22 Aug 2016, at 8:16 AM, Tierprot B. wrote:
>
> Aha! Thanks! Addition of proper user and group options to WSGIDaemonProcess
> solved the ImportError! The last question i have might be not related to
> mod_wsgi directly, but still.
> I have a Flask app, purpose of
Aha! Thanks! Addition of proper user and group options to WSGIDaemonProcess
solved the ImportError! The last question i have might be not related to
mod_wsgi directly, but still.
I have a Flask app, purpose of which to be able to upload files provided by
user, do some math and return result on a
>
>
> That is what WSGIScriptAlias is doing in giving it the path to the WSGI
> script file. If you mean something different you need to be clearer.
>
> b) that it should include python files from outside directory, for example
> home/user/flask_stuff_files ?
>
>
> If you are talking about
> On 21 Aug 2016, at 8:35 PM, Tierprot B. wrote:
>
> Thanks for the fast reply! I did what you`ve wrote and yay it worked! Now i
> wondering how can i tell to mod_wsgi two things - a) that wsgi file itself
> lies in /var/www/wsgi-scripts and
That is what WSGIScriptAlias
Thanks for the fast reply! I did what you`ve wrote and yay it worked! Now i
wondering how can i tell to mod_wsgi two things - a) that wsgi file itself
lies in /var/www/wsgi-scripts and b) that it should include python files
from outside directory, for example home/user/flask_stuff_files ?
--