{"id":439,"date":"2013-10-09T21:29:07","date_gmt":"2013-10-09T21:29:07","guid":{"rendered":"http:\/\/blog.chury721.cz\/?p=439"},"modified":"2013-10-09T21:31:18","modified_gmt":"2013-10-09T21:31:18","slug":"apache-prava-you-dont-have-permission-to-access-on-this-server","status":"publish","type":"post","link":"https:\/\/blog.chury721.cz\/?p=439","title":{"rendered":"Apache pr\u00e1va &#8211; You don&#8217;t have permission to access \/ on this server"},"content":{"rendered":"<p><strong> Pr\u00e1va pro slo\u017eky <\/strong><\/p>\n<pre>    sudo chgrp www-data \/var\/www<\/pre>\n<pre>    sudo chmod 775 \/var\/www\/*<\/pre>\n<p><strong> Pr\u00e1va na slo\u017eku &#8222;www&#8220; mus\u00ed m\u00edt u\u017eivatel\/skupina &#8222;www-data&#8220; <\/strong><\/p>\n<pre>    drwxrwsr-x 2 root mail 4096 2011-06-26 02:26 mail\r\n    drwxr-xr-x 2 root root 4096 2011-06-26 02:26 opt\r\n    drwxr-xr-x 15 root root 540 2013-10-09 23:18 run\r\n    drwxr-xr-x 6 root root 4096 2011-06-26 03:08 spool\r\n    drwxrwxrwt 3 root root 4096 2013-02-28 00:29 tmp\r\n    drwxr-xr-x 7 root root 4096 2011-10-11 21:38 tss2_rc2\r\n    drwx------ 3 root bin 4096 2012-02-13 10:26 webmin\r\n    drwxrwxr-x 10 www-data www-data 4096 2013-06-20 23:50 www<\/pre>\n<p><strong> Ve skupin\u00e1ch mus\u00ed b\u00fdt toto: <\/strong><\/p>\n<pre>    root@cas-server:~# cat \/etc\/group | grep www\r\n    www-data:x:33:<\/pre>\n<pre>    root@cas-server:~# cat \/etc\/group | grep www-data\r\n    www-data:x:33:<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Pr\u00e1va pro slo\u017eky sudo chgrp www-data \/var\/www sudo chmod 775 \/var\/www\/* Pr\u00e1va na slo\u017eku &#8222;www&#8220; mus\u00ed m\u00edt u\u017eivatel\/skupina &#8222;www-data&#8220; drwxrwsr-x 2 root mail 4096 2011-06-26 02:26 mail drwxr-xr-x 2 root root 4096 2011-06-26 02:26 opt drwxr-xr-x 15 root root 540 2013-10-09 23:18 run drwxr-xr-x 6 root root 4096 2011-06-26 03:08 spool drwxrwxrwt 3 root root [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5],"tags":[],"class_list":["post-439","post","type-post","status-publish","format-standard","hentry","category-linux","category-server"],"_links":{"self":[{"href":"https:\/\/blog.chury721.cz\/index.php?rest_route=\/wp\/v2\/posts\/439"}],"collection":[{"href":"https:\/\/blog.chury721.cz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chury721.cz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chury721.cz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chury721.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=439"}],"version-history":[{"count":3,"href":"https:\/\/blog.chury721.cz\/index.php?rest_route=\/wp\/v2\/posts\/439\/revisions"}],"predecessor-version":[{"id":442,"href":"https:\/\/blog.chury721.cz\/index.php?rest_route=\/wp\/v2\/posts\/439\/revisions\/442"}],"wp:attachment":[{"href":"https:\/\/blog.chury721.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chury721.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=439"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chury721.cz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}