Re: How to grant Apache httpd permission to serve files from my home directory?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux