I want to serve docs on my dev server from my home directory. This is a private laptop, so I'm not really concerned with security as far as you are with most servers / web hosting situations.The httpd.conf looks like this:DocumentRoot /home/myuser/www## Relax access to content within /var/www.#<Directory /home/myuser/www>    AllowOverride all    # Allow open access:    Require all granted</Directory># Further relax access to the default document root:<Directory /home/myuser/www>    #    # Possible values for the Options directive are None, All,    # or any combination of:    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews    #    # Note that MultiViews must be named *explicitly* --- Options All    # doesn't give it to you.    #    # The Options directive is both complicated and important.  Please see    # http://httpd.apache.org/docs/2.4/mod/core.html#options    # for more information.    #    Options Indexes FollowSymLinks    #    # AllowOverride controls what directives may be placed in .htaccess files.    # It can be All, None, or any combination of the keywords:    #   Options FileInfo AuthConfig Limit    #    AllowOverride None    #    # Controls who can get stuff from this server.    #    Require all granted</Directory>So far it's ok and I can now view the docs in the myuser/www directory at http://localhost/. However, apache can't write to the directory and I'm getting selinux security warnings.I tried adding my user to the apache group, and setting the myuser/www directory to 755 permissions, but this didn't work.How do I allow apache to write to this directory?EDIT:After changing the group and permissions on the /home/myuser/www/ directory, the files display, but the app is complaining that apache cannot write to the tmp directory and it throws an selinux error. The recommended fix in the security message is to execute the following commands, which I've done with no change:# semanage fcontext -a -t httpd_sys_rw_content_t 'tmp'# restorecon -v 'tmp'
Apache2 home directory on Fedora
fedora;permissions;apache httpd;selinux