Tom Elsesser wrote:
Hi all, I need to upload files to /var/www/html on our remote centos box. The perms on /var/www/html are stock from the install,
the 'normal' way to do this is to setup a vhost in /etc/httpd/conf.d/ and setup the docroot for that in /home/<someusername>/public_html ; change the perms there to satisfy what apache needs, and set
" chcon -R -u system_u -r object_r -t httpd_sys_content_t /home/<username>/public_html/ "
and you are done, just upload your content under /home/<username>/public_html/