{"id":1963,"date":"2014-09-17T21:47:17","date_gmt":"2014-09-17T18:17:17","guid":{"rendered":"http:\/\/xn--mgbguh09aqiwi.com\/?p=1963"},"modified":"2016-02-11T16:54:57","modified_gmt":"2016-02-11T13:24:57","slug":"%d8%a2%d9%85%d9%88%d8%b2%d8%b4-%d8%aa%d8%b1%d9%81%d9%86%d8%af-%d9%87%d8%a7%db%8c-htaccess-%d9%82%d8%b3%d9%85%d8%aa-%d8%a7%d9%88%d9%84","status":"publish","type":"post","link":"https:\/\/www.xn--mgbguh09aqiwi.com\/%d8%a2%d9%85%d9%88%d8%b2%d8%b4-%d8%aa%d8%b1%d9%81%d9%86%d8%af-%d9%87%d8%a7%db%8c-htaccess-%d9%82%d8%b3%d9%85%d8%aa-%d8%a7%d9%88%d9%84.html","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0648 \u062a\u0631\u0641\u0646\u062f \u0647\u0627\u06cc htaccess. ( \u0642\u0633\u0645\u062a \u0627\u0648\u0644 )"},"content":{"rendered":"
\n

htaccess \u00a0\u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0645\u062a\u0646\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0646\u062d\u0648\u0647 \u06cc \u0646\u0645\u0627\u06cc\u0634 \u0635\u0641\u062d\u0627\u062a \u0648\u0628 \u0631\u0627 \u06a9\u0646\u062a\u0631\u0644 \u0645\u06cc \u06a9\u0646\u062f \u0648 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0631 \u067e\u06cc\u06a9\u0631 \u0628\u0646\u062f\u06cc \u0635\u0641\u062d\u0627\u062a \u062a\u0648\u0633\u0637 \u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u0635\u0648\u0631\u062a \u0645\u06cc \u06af\u06cc\u0631\u062f . \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646\u0627\u062a \u0639\u0628\u0627\u0631\u062a\u0646\u062f \u0627\u0632 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u0628\u06cc\u0646 \u0635\u0641\u062d\u0627\u062a \u0633\u0627\u06cc\u062a \u0648 \u062f\u06cc\u06af\u0631 \u0648\u0628\u0633\u0627\u06cc\u062a \u0647\u0627\u060c\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u0641\u0634\u0631\u062f\u0647 \u0633\u0627\u0632\u06cc \u062a\u0648\u0633\u0637 \u0633\u0631\u0648\u0631\u060c\u0627\u0631\u062c\u0627\u0639 \u0628\u0647 \u0635\u0641\u062d\u0647 404 \u062f\u0631 \u0635\u0648\u0631\u062a \u0639\u062f\u0645 \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f\u0646 \u0635\u0641\u062d\u0647 \u06cc \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0648 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0645\u0648\u0627\u0631\u062f \u062f\u06cc\u06af\u0631 …<\/p>\n

\u0628\u0647 \u0637\u0648\u0631 \u06a9\u0644\u06cc \u0641\u0627\u06cc\u0644 htaccess. \u0628\u0647 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u062d\u0631\u0641\u0647 \u0627\u06cc \u0648\u0628 \u0633\u0627\u06cc\u062a \u062f\u0633\u062a\u0631\u0633\u06cc \u067e\u06cc\u062f\u0627 \u0645\u06cc\u06a9\u0646\u062f \u0648 \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u0645 \u062f\u0631 \u0622\u0646\u0647\u0627 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u06cc \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f .<\/p>\n

htaccess. \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0645\u062a\u0646\u06cc \u0628\u062f\u0648\u0646 \u0627\u0633\u0645 \u0645\u06cc\u0628\u0627\u0634\u062f \u06a9\u0647 \u062f\u0631 \u0631\u0648\u062a ( Root ) \u0633\u0627\u06cc\u062a \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u0648 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0622\u0646 \u06a9\u062f\u0647\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f .<\/p>\n

\u0648 \u0627\u0645\u0627 \u0622\u0645\u0648\u0632\u0634 …<\/p>\n

<\/p>\n

\"\u0622\u0645\u0648\u0632\u0634<\/a><\/p>\n

\u0627\u0636\u0627\u0641\u0647 \u0646\u0645\u0648\u062f\u0646 www \u062f\u0631 \u0627\u0648\u0644 \u0648\u0628 \u0633\u0627\u06cc\u062a ( \u062d\u062a\u0627 \u0627\u06af\u0631 \u06a9\u0627\u0631\u0628\u0631 \u0648\u0627\u0631\u062f \u0646\u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u062f ) :<\/span><\/p>\n

RewriteEngine on\r\n\r\nRewriteCond %{HTTPS} off\r\nRewriteCond %{HTTP_HOST} !^www\\. [NC]\r\nRewriteRule .* http:\/\/www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]\r\n\r\nRewriteCond %{HTTPS} on\r\nRewriteCond %{HTTP_HOST} !^www\\. [NC]\r\nRewriteRule .* https:\/\/www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]<\/pre>\n

\u00a0\u062d\u0630\u0641\u00a0\u0646\u0645\u0648\u062f\u0646 www \u062f\u0631 \u0627\u0648\u0644 \u0648\u0628 \u0633\u0627\u06cc\u062a ( \u062d\u062a\u0627 \u0627\u06af\u0631 \u06a9\u0627\u0631\u0628\u0631 www \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0647\u00a0\u0628\u0627\u0634\u062f ) :<\/span><\/p>\n

RewriteEngine on\r\n\r\nRewriteCond %{HTTPS} off\r\nRewriteCond %{HTTP_HOST} ^www\\.(.*)$ [NC]\r\nRewriteRule .* http:\/\/%1%{REQUEST_URI} [R=301,L]\r\n\r\nRewriteCond %{HTTPS} on\r\nRewriteCond %{HTTP_HOST} ^www\\.(.*)$ [NC]\r\nRewriteRule .* https:\/\/%1%{REQUEST_URI} [R=301,L]<\/pre>\n

\u0641\u0639\u0627\u0644 \u0633\u0627\u0632\u06cc Keep Alive :<\/span><\/p>\n

<IfModule mod_headers.c>\r\nHeader set Connection Keep-Alive\r\n<\/IfModule><\/pre>\n

\u00a0\u0627\u0646\u062a\u0642\u0627\u0644 \u0648\u0628 \u0633\u0627\u06cc\u062a \u0628\u0647 \u0622\u062f\u0631\u0633 \u062f\u0627\u0645\u0646\u0647 \u0627\u06cc \u062f\u06cc\u06af\u0631 :\u00a0<\/span><\/p>\n

RewriteCond %{HTTPS} off\r\nRewriteCond %{HTTP_HOST} !^(www\\.)?test\\.com$ [NC]\r\nRewriteRule .* http:\/\/test.com%{REQUEST_URI} [R=301,L]\r\n\r\nRewriteCond %{HTTPS} on\r\nRewriteCond %{HTTP_HOST} !^(www\\.)?test\\.com$ [NC]\r\nRewriteRule .* https:\/\/test.com%{REQUEST_URI} [R=301,L]<\/pre>\n

\u00a0\u062a\u0648\u062c\u0647 :<\/span> \u062f\u0631 \u0628\u0627\u0644\u0627 \u0628\u0647 \u062c\u0627\u06cc \u06a9\u0644\u0645\u0647 \u062a\u0633\u062a , \u0646\u0627\u0645 \u062f\u0627\u0645\u06cc\u0646 \u062e\u0648\u062f \u0648 \u0628\u0647 \u062c\u0627\u06cc com. \u0646\u0627\u0645 \u067e\u0633\u0648\u0646\u062f \u0622\u062f\u0631\u0633 \u062e\u0648\u062f \u0631\u0627 \u0648\u0627\u0631\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f .<\/p>\n

\u00a0\u062f\u0631\u062c \u06cc\u06a9 \u0627\u0633\u0644\u0634 ( \/ ) \u062f\u0631 \u0622\u062e\u0631 \u062a\u0645\u0627\u0645\u06cc \u0622\u062f\u0631\u0633 \u0647\u0627\u06cc url \u0633\u0627\u06cc\u062a :<\/span><\/p>\n

RewriteCond %{REQUEST_FILENAME} !-f\r\nRewriteCond %{REQUEST_URI} !\\\/$\r\nRewriteCond %{REQUEST_URI} !\\\/[^\\\/]*\\.[^\\\/]+$\r\nRewriteRule .* http:\/\/%{HTTP_HOST}%{REQUEST_URI}\/ [L,R=301]\r\n\r\nRewriteCond %{REQUEST_FILENAME} !-f\r\nRewriteCond %{REQUEST_URI} !\\\/$\r\nRewriteCond %{REQUEST_URI} !\\\/[^\\\/]*\\.[^\\\/]+$\r\nRewriteRule .* https:\/\/%{HTTP_HOST}%{REQUEST_URI}\/ [L,R=301]<\/pre>\n

\u00a0\u0641\u0639\u0627\u0644 \u0646\u0645\u0648\u062f\u0646 HotLinking \u0628\u0631\u0627\u06cc \u0639\u06a9\u0633 \u0647\u0627\u06cc \u0648\u0628 \u0633\u0627\u06cc\u062a :<\/span><\/p>\n

HotLinking \u0639\u06a9\u0633 \u0686\u06cc\u0633\u062a : \u0641\u0631\u0636 \u06a9\u0646\u06cc\u062f \u0639\u06a9\u0633\u06cc \u062f\u0631 \u0648\u0628 \u0633\u0627\u06cc\u062a \u062e\u0648\u062f \u062f\u0627\u0631\u06cc\u062f \u0648 \u062f\u06cc\u06af\u0631\u0627\u0646 \u0627\u0632\u0644\u06cc\u0646\u06a9 \u0639\u06a9\u0633 \u0634\u0645\u0627 \u0628\u0631\u0627\u06cc \u0646\u0645\u0627\u06cc\u0634 \u062f\u0631 \u0633\u0627\u06cc\u062a \u062e\u0648\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u06a9\u0646\u0646\u062f . \u062d\u0627\u0644 \u0627\u06af\u0631 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0622\u0646 \u0633\u0627\u06cc\u062a , \u0639\u06a9\u0633 \u0631\u0627 \u0628\u0628\u06cc\u0646\u0646\u062f , \u0627\u0632 \u067e\u0647\u0646\u0627\u06cc \u0628\u0627\u0646\u062f \u0634\u0645\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u0634\u0648\u062f .<\/span><\/span><\/p>\n

\u0628\u0647 \u0637\u0648\u0631 \u062e\u0644\u0627\u0635\u0647 \u0628\u0627 \u0641\u0639\u0627\u0644 \u0646\u0645\u0648\u062f\u0646 \u0627\u06cc\u0646 \u0642\u0627\u0628\u0644\u06cc\u062a , \u0639\u06a9\u0633 \u0647\u0627\u06cc \u0634\u0645\u0627 \u0641\u0642\u0637 \u0648 \u0641\u0642\u0637 \u062f\u0631 \u0633\u0627\u06cc\u062a \u062e\u0648\u062f\u062a\u0627\u0646 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0645\u06cc\u0634\u0648\u062f \u0648 \u062f\u06cc\u06af\u0631\u0627\u0646 \u062f\u0631 \u0633\u0627\u06cc\u062a\u0634\u0627\u0646 \u0642\u0627\u062f\u0631 \u0628\u0647 \u0646\u0645\u0627\u06cc\u0634 \u0622\u0646 \u0628\u0627 Url \u0634\u0645\u0627 \u0646\u06cc\u0633\u062a\u0646\u062f .<\/p>\n

RewriteCond %{HTTP_REFERER} !^$\r\nRewriteCond %{HTTP_REFERER} ^https?:\/\/([^\/]+)\/ [NC]\r\nRewriteCond %1#%{HTTP_HOST} !^(.+)#\\1$\r\nRewriteRule \\.(jpg|jpeg|png|gif|swf|svg)$ - [NC,F,L]<\/pre>\n

\u00a0\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0642\u0627\u0628\u0644\u06cc\u062a \u06a9\u0634\u06cc\u0646\u06af \u0628\u0631\u0627\u06cc \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u0639\u06a9\u0633 , \u0633\u06cc \u0627\u0633 \u0627\u0633 \u0648 \u0641\u0644\u0634 :<\/span><\/p>\n

<FilesMatch \".(ico|jpg|jpeg|png|gif|js|css|swf)$\">\r\n    Header set Cache-Control \"max-age=3600\"\r\n<\/FilesMatch><\/pre>\n

\u0628\u0631\u0627\u06cc \u0645\u0634\u0627\u0647\u062f\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u06cc\u0634\u062a\u0631 \u0627\u06cc\u0646\u062c\u0627\u0631\u0648 \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f<\/a><\/span><\/p>\n

\u00a0\u062a\u0648\u062c\u0647 :<\/span> 3600 \u0628\u0647 \u0645\u0639\u0646\u06cc \u0645\u062f\u062a \u0632\u0645\u0627\u0646 1 \u0633\u0627\u0639\u062a \u06cc\u0627 \u0647\u0645\u0627\u0646 3600 \u062b\u0627\u0646\u06cc\u0647 \u0645\u06cc\u0628\u0627\u0634\u062f \u06a9\u0647 \u0634\u0645\u0627 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0622\u0646 \u0631\u0627 \u06a9\u0645 \u06cc\u0627 \u0632\u06cc\u0627\u062f \u06a9\u0646\u06cc\u062f . ( \u0645\u062b\u0644\u0627 300 \u06a9\u0647 \u0628\u0647 \u0645\u0639\u0646\u06cc 5 \u062f\u0642\u06cc\u0642\u0647 \u0627\u0633\u062a )<\/p>\n

\u0641\u0639\u0627\u0644 \u0646\u0645\u0648\u062f\u0646 \u062e\u0627\u0635\u06cc\u062a Gzip \u06cc\u0627 \u0647\u0645\u0627\u0646 \u0641\u0634\u0631\u062f\u0647 \u0633\u0627\u0632\u06cc \u0645\u0637\u0627\u0644\u0628 \u0648 \u0641\u0627\u06cc\u0644 \u0647\u0627 ( \u062c\u0647\u062a \u0627\u0641\u0632\u0627\u06cc\u0634 \u0633\u0631\u0639\u062a \u0644\u0648\u062f \u0633\u0627\u06cc\u062a ) :<\/span><\/p>\n

AddOutputFilterByType DEFLATE text\/plain\r\nAddOutputFilterByType DEFLATE text\/html\r\nAddOutputFilterByType DEFLATE text\/xml\r\nAddOutputFilterByType DEFLATE text\/css\r\nAddOutputFilterByType DEFLATE application\/xml\r\nAddOutputFilterByType DEFLATE application\/xhtml+xml\r\nAddOutputFilterByType DEFLATE application\/rss+xml\r\nAddOutputFilterByType DEFLATE application\/javascript\r\nAddOutputFilterByType DEFLATE application\/x-javascript<\/pre>\n

\u00a0\u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u0646\u0645\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644 htaccess. \u062f\u0631 \u0647\u0627\u0633\u062a\u06cc\u0646\u06af ( \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u0647\u06a9 \u0648 \u0646\u0641\u0648\u0630 ) :<\/span><\/p>\n

<Files .htaccess>\r\n    order allow,deny\r\n    deny from all\r\n<\/Files><\/pre>\n

\u00a0\u06af\u0631\u062f\u0627\u0648\u0631\u06cc : \u0648\u062d\u06cc\u062f \u0645\u062c\u06cc\u062f\u06cc<\/span><\/p>\n

\u067e\u062e\u0634 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc<\/p>\n

\u062f\u0627\u0646\u0644\u0648\u062f \u06cc\u06a9 \u0641\u0627\u06cc\u0644 htaccess. \u062e\u0627\u0644\u06cc \u062c\u0647\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u0645\u0627<\/span><\/p>\n

[sdm_download id=”1980″ fancy=”0″]<\/span><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

htaccess \u00a0\u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0645\u062a\u0646\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0646\u062d\u0648\u0647 \u06cc \u0646\u0645\u0627\u06cc\u0634 \u0635\u0641\u062d\u0627\u062a \u0648\u0628 \u0631\u0627 \u06a9\u0646\u062a\u0631\u0644 \u0645\u06cc \u06a9\u0646\u062f \u0648 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0631 \u067e\u06cc\u06a9\u0631 \u0628\u0646\u062f\u06cc \u0635\u0641\u062d\u0627\u062a \u062a\u0648\u0633\u0637 \u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u0635\u0648\u0631\u062a \u0645\u06cc \u06af\u06cc\u0631\u062f . \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646\u0627\u062a \u0639\u0628\u0627\u0631\u062a\u0646\u062f \u0627\u0632 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u0628\u06cc\u0646 \u0635\u0641\u062d\u0627\u062a \u0633\u0627\u06cc\u062a \u0648 \u062f\u06cc\u06af\u0631 \u0648\u0628\u0633\u0627\u06cc\u062a \u0647\u0627\u060c\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u0641\u0634\u0631\u062f\u0647 \u0633\u0627\u0632\u06cc \u062a\u0648\u0633\u0637 \u0633\u0631\u0648\u0631\u060c\u0627\u0631\u062c\u0627\u0639 \u0628\u0647 \u0635\u0641\u062d\u0647 404 \u062f\u0631 \u0635\u0648\u0631\u062a \u0639\u062f\u0645 \u067e\u06cc\u062f\u0627 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1049],"tags":[1139,1135,756,1137,1134,1138,1136,1050,1140],"_links":{"self":[{"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/posts\/1963"}],"collection":[{"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/comments?post=1963"}],"version-history":[{"count":0,"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/posts\/1963\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/media?parent=1963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/categories?post=1963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/tags?post=1963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}