{"id":275,"date":"2020-04-11T23:33:09","date_gmt":"2020-04-11T20:33:09","guid":{"rendered":"https:\/\/zeratyl.one\/lab\/?p=275"},"modified":"2025-03-10T03:58:45","modified_gmt":"2025-03-10T00:58:45","slug":"%d1%80%d0%b5%d0%b4%d0%b8%d1%80%d0%b5%d0%ba%d1%82-%d1%81-%d1%81%d0%be%d1%85%d1%80%d0%b0%d0%bd%d0%b5%d0%bd%d0%b8%d0%b5%d0%bc-url-%d0%b2-apache","status":"publish","type":"post","link":"https:\/\/zeratyl.one\/lab\/archives\/275","title":{"rendered":"\u0420\u0435\u0434\u0438\u0440\u0435\u043a\u0442 \u0441 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435\u043c URL \u0432 Apache"},"content":{"rendered":"<p style=\"text-align: justify;\">\u041e\u0431\u044b\u0447\u043d\u044b\u0439 \u0440\u0435\u0434\u0438\u0440\u0435\u043a\u0442 \u0432 Apache \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0435\u043c-\u0442\u043e \u043d\u0435\u043e\u0431\u044b\u0447\u043d\u044b\u043c. \u042f \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0445\u043e\u0441\u0442\u043e\u0432, \u0433\u0434\u0435 \u043c\u044b \u0441\u043b\u0443\u0448\u0430\u0435\u043c 80-\u0439 \u043f\u043e\u0440\u0442 (http) \u0438 \u0434\u0435\u043b\u0430\u0435\u043c \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 443-\u0439 (https):<\/p>\n<blockquote><p>&lt;VirtualHost *:80&gt;<\/p>\n<p style=\"padding-left: 40px;\">ServerName domain.com<br \/>\nServerAlias www.domain.com<br \/>\nRedirect \/ https:\/\/domain.com\/<\/p>\n<p>&lt;\/VirtualHost&gt;<\/p><\/blockquote>\n<p>\u0422\u0430\u043a\u043e\u0439 \u0440\u0435\u0434\u0438\u0440\u0435\u043a\u0442 \u0432\u0441\u0435\u043c \u0445\u043e\u0440\u043e\u0448, \u043a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043d\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u0442\u0435\u043b\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430.<\/p>\n<p><!--more--><\/p>\n<p style=\"text-align: justify;\">\u0422.\u0435. \u0435\u0441\u043b\u0438 \u0432\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u043b\u0438\u0441\u044c \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u0432\u0438\u0434\u0430 &#171;http:\/\/domain.com\/arc?v=14&#187;, \u0442\u043e \u0432\u0430c \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0430\u0434\u0440\u0435\u0441\u0443\u0435\u0442 \u043d\u0430 &#171;https:\/\/domain.com&#187;, \u0437\u0430\u043f\u0440\u043e\u0441 \u0432\u0438\u0434\u0430 &#171;\/arc?v=14&#187; \u0431\u0443\u0434\u0435\u0442 \u0443\u0442\u0435\u0440\u044f\u043d. \u0414\u043b\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u044c <strong>RewriteEngine<\/strong> \u0432 Apache. \u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0444\u0430\u0439\u043b\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0445\u043e\u0441\u0442\u043e\u0432 \u043f\u0440\u0438\u043c\u0435\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u0432\u0438\u0434:<\/p>\n<blockquote><p>&lt;VirtualHost *:80&gt;<\/p>\n<p style=\"padding-left: 40px;\">ServerName domain.com<br \/>\nServerAlias www.domain.com<br \/>\nRewriteEngine on<br \/>\nRewriteRule \u2033^\/?(.*)\u2033 \u2033https:\/\/domain.com\/$1\u2033 [R=301,L]<\/p>\n<p>&lt;\/VirtualHost&gt;<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u041e\u0431\u044b\u0447\u043d\u044b\u0439 \u0440\u0435\u0434\u0438\u0440\u0435\u043a\u0442 \u0432 Apache \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0435\u043c-\u0442\u043e \u043d\u0435\u043e\u0431\u044b\u0447\u043d\u044b\u043c. \u042f \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0445\u043e\u0441\u0442\u043e\u0432, \u0433\u0434\u0435 \u043c\u044b \u0441\u043b\u0443\u0448\u0430\u0435\u043c 80-\u0439 \u043f\u043e\u0440\u0442 (http) \u0438 \u0434\u0435\u043b\u0430\u0435\u043c \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 443-\u0439 (https): &lt;VirtualHost *:80&gt; ServerName domain.com ServerAlias www.domain.com Redirect \/ https:\/\/domain.com\/ &lt;\/VirtualHost&gt; \u0422\u0430\u043a\u043e\u0439 \u0440\u0435\u0434\u0438\u0440\u0435\u043a\u0442 \u0432\u0441\u0435\u043c \u0445\u043e\u0440\u043e\u0448, \u043a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043d\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u0442\u0435\u043b\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430&#8230;. <\/p>\n<div class=\"read-more navbutton\"><a href=\"https:\/\/zeratyl.one\/lab\/archives\/275\">\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[33,35,38],"class_list":["post-275","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-apache","tag-https","tag-38"],"_links":{"self":[{"href":"https:\/\/zeratyl.one\/lab\/wp-json\/wp\/v2\/posts\/275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zeratyl.one\/lab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zeratyl.one\/lab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zeratyl.one\/lab\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zeratyl.one\/lab\/wp-json\/wp\/v2\/comments?post=275"}],"version-history":[{"count":0,"href":"https:\/\/zeratyl.one\/lab\/wp-json\/wp\/v2\/posts\/275\/revisions"}],"wp:attachment":[{"href":"https:\/\/zeratyl.one\/lab\/wp-json\/wp\/v2\/media?parent=275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zeratyl.one\/lab\/wp-json\/wp\/v2\/categories?post=275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zeratyl.one\/lab\/wp-json\/wp\/v2\/tags?post=275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}