On 12/09/2010 12:22 AM, Laurentiu STEFAN wrote: > tnks > dau o bere :-)) > asta trebuie sa o fac la fiecare domeniu? > sau sa ii dau la /var/www/html si tot ce pun in el dupa e ok? > > daca le pun in /www sau /home sa dau direct chcon -R -t httpd_sys_content_t > /home sau /www ? > >
restorecon -R /var/www/html Daca pui in home (mai precis, home/user/public_html ) va trebui - sa mai setezi un boolean selinux. getsebool -a | grep httpd si te prinzi tu care. - sa etichetezi corect continutul din folderele public_html PS: yum install audit; service auditd start ; chkconfig auditd on > 2010/12/8 Bogdan-Stefan Rotariu <[email protected]> > > >> On 12/8/2010 10:07 PM, Laurentiu STEFAN wrote: >> >>> CentOS nou nout (e un vps demo pe 1 an) >>> >>> /usr/sbin/sestatus >>> SELinux status: enabled >>> SELinuxfs mount: /selinux >>> Current mode: enforcing >>> Mode from config file: enforcing >>> Policy version: 21 >>> Policy from config file: targeted >>> >>> >>> >>> >> chcon -R -t httpd_sys_content_t domeniu2 si testeaza daca merge >> _______________________________________________ >> RLUG mailing list >> [email protected] >> http://lists.lug.ro/mailman/listinfo/rlug >> >> > _______________________________________________ > RLUG mailing list > [email protected] > http://lists.lug.ro/mailman/listinfo/rlug > _______________________________________________ RLUG mailing list [email protected] http://lists.lug.ro/mailman/listinfo/rlug
