Apache Config - how to make a directory accessable ?

Mikkel L. Ellertson mikkel at infinity-ltd.com
Tue Apr 7 23:27:38 UTC 2009


Craig White wrote:
> 
> mkdir /var/www/html/csweb
> mount -o bind /stage/webpages/csweb /var/www/html
> 
> and if that works, makes user, selinux happy, then you could permanently
> add it to fstab
> 
> Craig
> 
If that does not make SELinux happy, try something like:

mount -o bind,context=system_u:object_r:httpd_sys_content_t:s0 \
/stage/webpages/csweb /var/www/html

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090407/39db6f2e/attachment-0001.sig>


More information about the fedora-list mailing list