O'Reilly logo
  • Sven Dowideit thinks this is interesting:

~# semanage fcontext –a –t httpd_sys_content_t "/srv/web/zone/htdocs(/.*)?"

From

Cover of SELinux Cookbook

Note

[root@RHEL71 selinux]# semanage fcontext –a –t httpd_sys_content_t "/srv/web/zone/htdocs(/.*)?"
usage: semanage [-h]

            {import,export,login,user,port,interface,module,node,fcontext,boolean,permissive,dontaudit}
            ...

semanage: error: unrecognized arguments: –t httpd_sys_content_t /srv/web/zone/htdocs(/.*)?