I have a Flask application that i am setting up under windows. In my httd.conf file, i include the conf file for my application, which resides in a directory like this:
C:\prod\apps\my_app\
\my_app
my_app.conf
my_app.py
my_app.wsgi
\my_service
\my_data
\my_python_virtual_env
I am able to configure this in Apache and get it running just fine using absolute paths for WSGIPythonPath in the my_app.conf. However, i can not getting it working using relative paths for WSGIPythonPath. I would assume, based on above structure, that it should be something like this:
WSGIPythonPath ../my_app;../my_service;../my_data;../my_python_virtual_env
<Directory "/">
Require all granted
</Directory>
That clearly is not how apache is interpreting the root these relative paths however. Is what i'm tyring to do possible and if not, any other suggestions on how to get this to work? It would be great to have a single conf file for the various environments deployed to.