Re: Security context for Apache

2023-04-07 Thread Patrick O'Callaghan
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

Re: Security context for Apache

2023-04-07 Thread Todd Zullinger
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

Security context for Apache

2023-04-07 Thread Patrick O'Callaghan
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