selinux and wordpress, wordpress-mu

Daniel J Walsh dwalsh at redhat.com
Mon Mar 30 13:37:30 UTC 2009


On 03/29/2009 12:15 PM, Ian Weller wrote:
>    # semanage fcontext -a -t httpd_var_run_t '/usr/share/wordpress-mu'
>    # semanage fcontext -a -t httpd_var_run_t '/usr/share/wordpress-mu/wp-config.php'
>    # semanage fcontext -a -t httpd_var_run_t '/usr/share/wordpress-mu/wp-content(/.*)?'

How about

# semanage fcontext -a -t httpd_sys_script_exec_t 
'/usr/share/wordpress-mu/wp-config.php'
# semanage fcontext -a -t httpd_sys_content_rw_t 
'/usr/share/wordpress-mu/wp-content(/.*)?'




More information about the fedora-devel-list mailing list