On 24/01/2019 10:35, Peter Nabbefeld wrote:
Hello,
how can I grant Apache httpd permissions to present files out of my home
directory?
Especially, I don't want to only serve files from my home folder, and I
don't want to give it full root access.
To be more specific, I want to serve a small tutorial project in Python
via uWSGI. I guess, first httpd needs the rights to delegate, then uWSGI
needs rights to access the scripts. Both are currently running as
http:http.
This is not being thought as a permanent solution, just only for "quick
& dirty" deployment, as always thinking about copying etc. during
learning phase is rather inconvenient.
Kind regards
Peter
Serving from /srv is not any more inconvenient really, you could set it
up as a git remote and git push to it (or whatever vcs you prefer), or
have your editor automate the copy.