Yolanda Robla Mota 8fa18ba136 Fix selinux problems on vhost
When running on CentOS, that problem still persists: when trying
to access files under a vhost, apache was failing with
Access denied because search permissions are missing.

So running chcon on the docroot for each vhost

Please note that this change was reverted before. That was caused
by puppet-cgit sending a dummy location "MEANINGLESS ARGUMENT"
to docroot argument of vhost. To avoid that failure, execute only
the chcon call if docroot exists and is a directory.

Change-Id: I4ab7d4cc6d2115bd8f980be7f14a6a4557ffeb87
2016-07-22 08:57:46 +02:00
..
2016-06-26 09:53:35 +02:00
2015-09-28 14:50:03 -03:00
2015-07-29 23:18:35 -07:00
2015-09-25 12:21:31 -07:00
2015-07-29 23:18:35 -07:00
2015-10-21 15:35:33 +00:00
2016-07-22 08:57:46 +02:00