Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


centos7_webdav

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
centos7_webdav [2017/01/09 14:15] admincentos7_webdav [2017/01/09 14:31] – [Configuration] admin
Line 100: Line 100:
 # generate password with pwgen # generate password with pwgen
 </code> </code>
-  * Change SELinux policy:<code> +  * Change SELinux policy for write access to WebDAV directory:<code> 
-semanage fcontext -a -t httpd_sys_script_rw_t "/var/www/html/user-a(/.*)?"+yum install policycoreutils-python 
 +semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html/user-a(/.*)?"
 </code> </code>
   * Enable firewall:<code>   * Enable firewall:<code>
centos7_webdav.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1