On Fri, 2023-04-07 at 10:17 -0400, Todd Zullinger wrote:
> semanage fcontext -a -t httpd_sys_content_t "/web(/.*)?"
> restorecon -R -v /web
>
That seems to do the trick, thanks.
> Yes, if you knew what command to use, finding the manpage
> [...]
The old UNIX joke was that any man page
Patrick O'Callaghan wrote:
> I've set up a simple web server for private use (though I will enable
> https access from outside the network), but I want some of the content
> to be outside the default /var/www/html tree. When I do this, I get
> file access errors when SElinux is enabled, but not
I've set up a simple web server for private use (though I will enable
https access from outside the network), but I want some of the content
to be outside the default /var/www/html tree. When I do this, I get
file access errors when SElinux is enabled, but not when I set
'setenforcing=0'.
I'd