Re: Selinux and Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 11, 2008 at 10:29:38 +0900,
  John Summerfield <debian@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> It's not hard to serve content from alternative locations, it took me  
> about five minutes, when I needed to serve from /var/local/mirror, to  
> find how to do it, without asking. There are not many possible 
> commands:-)

It is, however, easy to do it imcorrectly. You normally don't want
to use chcon. You want to use semanage fcontext to define patterns
of files and directories to get alternate labels and then use
restorecon to change them. If you just use chcon the file labels might
get changed back to their previous values unexpectedly.

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux