{"id":2499,"date":"2016-03-23T08:52:07","date_gmt":"2016-03-23T04:22:07","guid":{"rendered":"http:\/\/www.host97.net\/?p=2499"},"modified":"2016-03-23T08:52:07","modified_gmt":"2016-03-23T04:22:07","slug":"%db%b1%db%b7-%d8%aa%d8%b1%d9%81%d9%86%d8%af-%d9%88-%d9%86%da%a9%d8%aa%d9%87-htaccess-%d8%af%d8%b1-%d9%87%d8%a7%d8%b3%d8%aa-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-cpanel","status":"publish","type":"post","link":"https:\/\/host97.net\/wiki\/%db%b1%db%b7-%d8%aa%d8%b1%d9%81%d9%86%d8%af-%d9%88-%d9%86%da%a9%d8%aa%d9%87-htaccess-%d8%af%d8%b1-%d9%87%d8%a7%d8%b3%d8%aa-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-cpanel\/","title":{"rendered":"\u06f1\u06f7 \u062a\u0631\u0641\u0646\u062f \u0648 \u0646\u06a9\u062a\u0647 Htaccess \u062f\u0631 \u0647\u0627\u0633\u062a \u0644\u06cc\u0646\u0648\u06a9\u0633 cPanel"},"content":{"rendered":"<p dir=\"rtl\" style=\"text-align: justify;\">\u0628\u0639\u0636\u06cc \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0647\u0627\u0633\u062a \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0627\u0632 \u0642\u062f\u0631\u062a \u0647\u0627\u06cc htaccess \u0622\u06af\u0627\u0647\u06cc \u0646\u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0646\u062f \u0628\u0639\u0636\u06cc \u0627\u0632 \u0627\u06cc\u0646 \u062a\u0631\u0641\u0646\u062f\u0647\u0627 \u0628\u0631\u0627\u06cc \u062d\u0641\u0627\u0638\u062a \u0648\u0628 \u0633\u0631\u0648\u0631 \u0634\u0645\u0627 \u0627\u0632 \u062d\u0645\u0644\u0627\u062a \u0647\u06a9\u0631\u0647\u0627 \u0636\u0631\u0648\u0631\u06cc \u0645\u06cc\u0628\u0627\u0634\u0646\u062f \u0648 \u0628\u0639\u0636\u06cc \u062f\u06cc\u06af\u0631 \u0642\u0627\u062f\u0631 \u0628\u0647 \u0627\u0646\u062c\u0627\u0645 \u06a9\u0627\u0631\u0647\u0627\u06cc \u0633\u0627\u062f\u0647 \u0648 \u0645\u0624\u062b\u0631 \u0627\u0632 \u0642\u0628\u06cc\u0644 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u0648\u0628 \u0633\u0631\u0648\u0631 \u0648 \u0648\u0628 \u0633\u0627\u06cc\u062a \u062e\u0648\u0627\u0647\u0646\u062f \u0628\u0648\u062f.<br \/>\nHtaccess \u0647\u0627 \u0632\u06cc\u0631 \u0642\u0627\u062f\u0631 \u062e\u0648\u0627\u0647\u0646\u062f \u0628\u0648\u062f \u062a\u0627 \u0628\u0631\u0627\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u0648 \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u0648\u0628 \u0633\u0631\u0648\u0631 \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u06a9\u0645\u06a9 \u06a9\u0646\u0646\u062f.<\/p>\n<p dir=\"rtl\">\n<strong>\u06f1 &#8211; \u062a\u0646\u0638\u06cc\u0645 \u0645\u0646\u0637\u0642\u0647 \u0632\u0645\u0627\u0646\u06cc:<\/strong><\/p>\n<p dir=\"rtl\" style=\"text-align: justify;\">\u06af\u0627\u0647\u06cc \u0627\u0648\u0642\u0627\u062a \u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0634\u0645\u0627 \u0627\u0632 \u062a\u0627\u0631\u06cc\u062c \u0648 \u06cc\u0627 \u062a\u0627\u0628\u0639 mktime \u062f\u0631 \u067e\u06cc \u0627\u0686 \u067e\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u062f \u0622\u0646 \u0628\u0647 \u0634\u0645\u0627 \u06cc\u06a9 \u067e\u06cc\u063a\u0627\u0645 \u062e\u0646\u062f\u0647 \u062f\u0627\u0631 \u062f\u0631 \u0645\u0648\u0631\u062f \u0645\u0646\u0637\u0642\u0647 \u0632\u0645\u0627\u0646\u06cc \u0628\u0647 \u0634\u0645\u0627 \u0646\u0634\u0627\u0646 \u062e\u0648\u0627\u0647\u062f \u062f\u0627\u062f.\u00a0 \u062d\u0644 \u0627\u06cc\u0646 \u0645\u0634\u06a9\u0644 \u0622\u0633\u0627\u0646 \u0645\u06cc\u0628\u0627\u0634\u062f \u062a\u0646\u0638\u06cc\u0645 \u0645\u0646\u0637\u0642\u0647 \u0632\u0645\u0627\u0646\u06cc \u0631\u0627 \u062f\u0631 \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0628\u06af\u0630\u0627\u0631\u06cc\u062f. \u0644\u06cc\u0633\u062a \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u0646\u0637\u0642\u0647 \u0632\u0645\u0627\u0646\u06cc \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f.<\/p>\n<pre class=\"lang:default decode:true \">SetEnv TZ Australia\/Melbourne<\/pre>\n<p dir=\"rtl\">\n<strong>\u06f2 &#8211; \u0645\u0637\u0644\u0628 SEO \u0648 \u06f3\u06f0\u06f1 \u0645\u0633\u06cc\u0631 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0627\u0626\u0645\u06cc:<\/strong><\/p>\n<p dir=\"rtl\">\u0627\u0645\u0631\u0648\u0632\u0647 \u0628\u0639\u0636\u06cc \u0627\u0632 \u0645\u0648\u062a\u0648\u0631\u0647\u0627\u06cc \u062c\u0633\u062a\u062c\u0648\u06cc \u0645\u062f\u0631\u0646 \u0642\u0627\u0628\u0644\u06cc\u062a \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u06f3\u06f0\u06f1 \u062a\u063a\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u062f\u0627\u0626\u0645\u06cc \u0631\u0627 \u062f\u0627\u0631\u0646\u062f \u0648 \u0631\u06a9\u0648\u0631\u062f\u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u0631\u0627 \u0628\u0631\u0648\u0632 \u0631\u0633\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u0646\u062f.<\/p>\n<pre class=\"lang:default decode:true \">Redirect 301 http:\/\/www.test.com\/home http:\/\/www.test.com\/<\/pre>\n<p dir=\"rtl\"><strong>\u06f3 &#8211; \u0628\u0631 \u06a9\u0646\u0627\u0631 \u06a9\u0631\u062f\u0646 \u062f\u06cc\u0627\u0644\u0648\u06af \u062f\u0627\u0646\u0644\u0648\u062f:<\/strong><\/p>\n<p dir=\"rtl\" style=\"text-align: justify;\">\u0645\u0639\u0645\u0648\u0644\u0627 \u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0634\u0645\u0627 \u0633\u0639\u06cc \u0645\u06cc \u06a9\u0646\u06cc\u062f \u0686\u06cc\u0632\u06cc \u0631\u0627 \u0627\u0632 \u06cc\u06a9 \u0648\u0628 \u0633\u0631\u0648\u0631 \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f \u0634\u0645\u0627 \u06cc\u06a9 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0628\u0631\u0627\u06cc \u062d\u0641\u0638 \u06cc\u0627 \u0628\u0627\u0632 \u06a9\u0631\u062f\u0646 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc \u06a9\u0646\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0627\u062c\u062a\u0646\u0627\u0628 \u0627\u0632 \u0627\u06cc\u0646 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u06a9\u062f\u0647\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 htaccess \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f.<\/p>\n<pre class=\"lang:default decode:true \">AddType application\/octet-stream .pdf \nAddType application\/octet-stream .zip \nAddType application\/octet-stream .mov<\/pre>\n<p dir=\"rtl\">\n<strong>\u06f4 &#8211; \u00a0\u062d\u0630\u0641 WWW<\/strong><\/p>\n<p dir=\"rtl\" style=\"text-align: justify;\">\u06cc\u06a9\u06cc \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u0627\u0644\u0639\u0645\u0644 \u0647\u0627 SEO \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u062d\u0627\u0635\u0644 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0641\u0642\u0637 \u06cc\u06a9 URL \u0628\u0647 \u0648\u0628 \u0633\u0627\u06cc\u062a \u0634\u0645\u0627 \u0627\u0634\u0627\u0631\u0647 \u06a9\u0646\u062f \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0634\u0645\u0627 \u0646\u06cc\u0627\u0632 \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0627\u0634\u062a \u06a9\u0647 \u0647\u0645\u0647 \u062a\u0631\u0627\u0641\u06cc\u06a9 WWW \u0631\u0627 \u0628\u0647 \u0645\u0633\u06cc\u0631 \u063a\u06cc\u0631 WWW \u062a\u063a\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u062f\u0647\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0627\u0632 \u06a9\u0686 \u0647\u0627\u06cc \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<pre class=\"lang:default decode:true \">RewriteEngine On \nRewriteBase \/ \nRewriteCond %{HTTP_HOST} ^www.joomir.com [NC] \nRewriteRule ^(.*)$ http:\/\/joomir.com\/$1 [L,R=301]<\/pre>\n<p dir=\"rtl\"><strong>\u06f5 \u2013 \u0633\u0641\u0627\u0631\u0634\u06cc \u06a9\u0631\u062f\u0646 \u0635\u0641\u062d\u0647 \u062e\u0637\u0627:<\/strong><\/p>\n<p dir=\"rtl\">\u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u0635\u0641\u062d\u0647 \u062e\u0637\u0627\u06cc \u0633\u0641\u0627\u0631\u0634\u06cc \u0628\u0631\u0627\u06cc \u0647\u0631 \u06cc\u06a9 \u0627\u0632 \u06a9\u062f\u0647\u0627\u06cc \u062e\u0637\u0627<\/p>\n<pre class=\"lang:default decode:true \">ErrorDocument 401 \/error\/401.php \nErrorDocument 403 \/error\/403.php \nErrorDocument 404 \/error\/404.p \nErrorDocument 500 \/error\/500.php<\/pre>\n<h3 dir=\"rtl\">\u06f6 &#8211; \u0641\u0634\u0631\u062f\u0647 \u0633\u0627\u0632\u06cc \u0641\u0627\u06cc\u0644 \u0647\u0627:<\/h3>\n<p dir=\"rtl\">\u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u0648\u0642\u062a \u0628\u0627\u0631\u06af\u06cc\u0631\u06cc \u0648\u0628 \u0633\u0627\u06cc\u062a \u0631\u0627 \u0628\u0627 \u0641\u0634\u0631\u062f\u0647 \u0633\u0627\u0632\u06cc \u0641\u0627\u06cc\u0644 \u0647\u0627 \u0628\u0647 \u0627\u0646\u062f\u0627\u0632\u0647 \u0647\u0627\u06cc \u06a9\u0648\u0686\u06cc\u06a9 \u062a\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f.<\/p>\n<pre class=\"lang:default decode:true \"># compress text, html, javascript, css, xml: \nAddOutputFilterByType DEFLATE text\/plain \nAddOutputFilterByType DEFLATE text\/html \nAddOutputFilterByType DEFLATE text\/xml \nAddOutputFilterByType DEFLATE text\/css \nAddOutputFilterByType DEFLATE application\/xml \nAddOutputFilterByType DEFLATE application\/xhtml+xml \nAddOutputFilterByType DEFLATE application\/rss+xml \nAddOutputFilterByType DEFLATE application\/javascript \nAddOutputFilterByType DEFLATE application\/x-javascript<\/pre>\n<p dir=\"rtl\">\n<strong>\u06f7 \u2013 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u0630\u062e\u06cc\u0631\u0647 \u0633\u0627\u0632\u06cc (Cache files ):<\/strong><\/p>\n<p dir=\"rtl\">\u0630\u062e\u06cc\u0631\u0647 \u0641\u0627\u06cc\u0644 \u06cc\u06a9\u06cc \u062f\u06cc\u06af\u0631 \u0627\u0632 \u0631\u0648\u0634 \u0647\u0627 \u0645\u0639\u0631\u0648\u0641 \u062f\u0631 \u0632\u0645\u0627\u0646 \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u0648\u0628 \u0633\u0627\u06cc\u062a \u062f\u0631 \u062d\u0627\u0644 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u0645\u06cc\u0628\u0627\u0634\u062f.<\/p>\n<pre class=\"lang:default decode:true \">&lt;FilesMatch \".(flv|gif|jpg|jpeg|png|ico|swf|js|css|pdf)$\"&gt; \nHeader set Cache-Control \"max-age=2592000\" \n&lt;\/FilesMatch&gt;\n\n<\/pre>\n<p dir=\"rtl\"><strong>\u06f8 \u2013 \u063a\u06cc\u0631 \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0630\u062e\u06cc\u0631\u0647 \u0633\u0627\u0632\u06cc \u0628\u0631\u0627\u06cc \u0646\u0648\u0639 \u062e\u0627\u0635\u06cc \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0647\u0627:<\/strong><\/p>\n<p dir=\"rtl\">\u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0630\u062e\u06cc\u0631\u0647 \u0633\u0627\u0632\u06cc \u0628\u0631\u0627\u06cc \u0646\u0648\u0639 \u062e\u0627\u0635\u06cc \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0647\u0627 \u0631\u0627 \u063a\u06cc\u0631 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f.<\/p>\n<pre class=\"lang:default decode:true \"># explicitly disable caching for scripts and other dynamic files \n&lt;FilesMatch \".(pl|php|cgi|spl|scgi|fcgi)$\"&gt; \nHeader unset Cache-Control \n&lt;\/FilesMatch&gt;<\/pre>\n<h2 dir=\"rtl\">\n\u0627\u0645\u0646\u06cc\u062a<\/h2>\n<p dir=\"rtl\" style=\"text-align: justify;\">\u06a9\u062f\u0647\u0627\u06cc htaccess \u0628\u0639\u062f\u06cc \u0642\u0627\u062f\u0631 \u062e\u0648\u0627\u0647\u0646\u062f \u0628\u0648\u062f \u062a\u0627 \u0633\u0637\u062d \u0627\u0645\u0646\u06cc\u062a \u0648\u0628 \u0633\u0631\u0648\u0631 \u0634\u0645\u0627 \u0631\u0627 \u0627\u0631\u062a\u0642\u0627\u0637 \u062f\u0647\u0646\u062f. \u062d\u0641\u0627\u0638\u062a Hotlinking \u0628\u0631\u0627\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062a\u0635\u0627\u0648\u06cc\u0631\u06cc \u06a9\u0647 \u062f\u0631 \u0648\u0628 \u0633\u0631\u0648\u0631 \u0630\u062e\u06cc\u0631\u0647 \u0634\u062f\u0647 \u0627\u0646\u062f \u0628\u0633\u06cc\u0627\u0631 \u0645\u0641\u06cc\u062f \u0645\u06cc\u0628\u0627\u0634\u062f.<\/p>\n<p dir=\"rtl\" style=\"text-align: justify;\"><strong>\u06f1 \u2013 \u062d\u0641\u0627\u0638\u062a Hotlinking \u0628\u0627 htaccess <\/strong><br \/>\n\u0622\u06cc\u0627 \u0634\u0645\u0627 \u0627\u0632 \u0633\u0631\u0642\u062a \u067e\u0647\u0646\u0627\u06cc \u0628\u0627\u0646\u062f \u0648\u0628 \u0633\u0627\u06cc\u062a \u062e\u0648\u062f \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062a\u0635\u0627\u0648\u06cc\u0631\u06cc \u06a9\u0647 \u0634\u0645\u0627 \u062f\u0631 \u0648\u0628 \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f \u0645\u062a\u0646\u0641\u0631 \u0647\u0633\u062a\u06cc\u062f\u061f \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u062f \u0632\u06cc\u0631 \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646 \u0645\u0648\u0631\u062f \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<pre class=\"lang:default decode:true \">RewriteBase \/ \nRewriteCond %{HTTP_REFERER} !^$ \nRewriteCond %{HTTP_REFERER} !^http:\/\/(www.)?joomir.com\/.*$ [NC] \nRewriteRule .(gif|jpg|swf|flv|png)$ \/feed\/ [R=302,L]<\/pre>\n<p dir=\"rtl\" style=\"text-align: justify;\">\n<strong>\u06f2 &#8211; \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u0647\u06a9 \u06a9\u0631\u062f\u0646 \u0648\u0628 \u0633\u0627\u06cc\u062a \u062e\u0648\u062f<\/strong><br \/>\n\u0627\u06af\u0631 \u0634\u0645\u0627 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0633\u0637\u062d \u0627\u0645\u0646\u06cc\u062a \u0648\u0628 \u0633\u0627\u06cc\u062a \u062e\u0648\u062f \u0631\u0627 \u0627\u0631\u062a\u0642\u0627\u0637 \u062f\u0647\u06cc\u062f \u0627\u0632 \u06a9\u062f \u0647\u0627\u06cc \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0627\u06cc\u0646 \u06a9\u062f\u0647\u0627 \u0628\u0639\u0636\u06cc \u0627\u0632 \u062a\u06a9\u0646\u06cc\u06a9 \u0647\u0627\u06cc \u0647\u06a9 \u0631\u0627 \u0628\u0627 \u06a9\u0634\u0641 \u06a9\u0631\u062f\u0646 URL \u0645\u062e\u0631\u0628 \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u062e\u0648\u0627\u0647\u0646\u062f \u06a9\u0631\u062f.<\/p>\n<pre class=\"lang:default decode:true \">RewriteEngine On\n# proc\/self\/environ? no way! \nRewriteCond %{QUERY_STRING} proc\/self\/environ [OR]\n# Block out any script trying to set a mosConfig value through the URL \nRewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\\%3D) [OR]\n\n# Block out any script trying to base64_encode crap to send via URL \nRewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]\n\n# Block out any script that includes a &lt;script&gt; tag in URL \nRewriteCond %{QUERY_STRING} (&lt;|%3C).*script.*(&gt;|%3E) [NC,OR]\n\n# Block out any script trying to set a PHP GLOBALS variable via URL \nRewriteCond %{QUERY_STRING} GLOBALS(=|[|\\%[0-9A-Z]{0,2}) [OR]\n\n# Block out any script trying to modify a _REQUEST variable via URL \nRewriteCond %{QUERY_STRING} _REQUEST(=|[|\\%[0-9A-Z]{0,2})\n\n# Send all blocked request to homepage with 403 Forbidden error! \nRewriteRule ^(.*)$ index.php [F,L]<\/pre>\n<p style=\"text-align: justify;\"><strong>\u06f3 &#8211; \u0645\u0633\u062f\u0648\u062f \u06a9\u0631\u062f\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0641\u0627\u06cc\u0644 htaccess \u062e\u0648\u062f<\/strong><br \/>\n\u06a9\u062f \u0632\u06cc\u0631 \u0627\u0632 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0631\u0628\u0631 \u0628\u0647 \u0641\u0627\u06cc\u0644 htaccess \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u062e\u0648\u0627\u0647\u062f \u06a9\u0631\u062f. \u0647\u0645\u0686\u0646\u06cc\u0646 \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0641\u0627\u06cc\u0644 \u0647\u0627 \u0645\u062a\u0639\u062f\u062f\u06cc \u0631\u0627 \u0647\u0645 \u0645\u0633\u062f\u0648\u062f \u06a9\u0646\u06cc\u062f.<\/p>\n<pre class=\"lang:default decode:true \"># secure htaccess file \n&lt;Files .htaccess&gt; \norder allow,deny \ndeny from all \n&lt;\/Files&gt;\n\n# prevent viewing of a specific file \n&lt;Files secretfile.jpg&gt; \norder allow,deny \ndeny from all \n&lt;\/Files&gt;\n\n# multiple file types \n&lt;FilesMatch \".(htaccess|htpasswd|ini|phps|fla|psd|log|sh)$\"&gt; \nOrder Allow,Deny \nDeny from all \n&lt;\/FilesMatch&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p dir=\"rtl\"><strong>\u06f4 &#8211; \u062a\u063a\u06cc\u0631 \u0646\u0627\u0645 \u0641\u0627\u06cc\u0644 htaccess <\/strong><br \/>\n\u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0646\u0627\u0645 \u0641\u0627\u06cc\u0644 htaccess \u0631\u0627 \u0628\u0647 \u0686\u06cc\u0632 \u062f\u06cc\u06af\u0631\u06cc \u0628\u0631\u0627\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u06cc\u06af\u0631\u0627\u0646 \u062a\u063a\u06cc\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<pre class=\"lang:default decode:true\">AccessFileName htacc.ess<\/pre>\n<p><strong>\u06f5 &#8211; \u063a\u06cc\u0631 \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0628\u0631\u0627\u0648\u0632 \u06a9\u0631\u062f\u0646 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc<\/strong><br \/>\n\u0627\u0632 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0646 \u0634\u0627\u062e\u0635 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u062a\u0648\u0633\u0637 \u0633\u0631\u0648\u0631 \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<pre class=\"lang:default decode:true \"># disable directory browsing \nOptions All -Indexes \n# enable directory browsing \nOptions All +Indexes<\/pre>\n<p><strong>\u06f6 &#8211; \u062a\u063a\u06cc\u0631 \u0635\u0641\u062d\u0647 \u067e\u06cc\u0634 \u0641\u0631\u0636 \u0627\u06cc\u0646\u062f\u06a9\u0633<\/strong><br \/>\n\u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0635\u0641\u062d\u0647 \u067e\u06cc\u0634 \u0641\u0631\u0636 index.html \u06cc\u0627 index.php \u0648 \u06cc\u0627 index.htm \u0628\u0647 \u0686\u06cc\u0632 \u062f\u06cc\u06af\u0631\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<pre class=\"lang:default decode:true \">DirectoryIndex business.html<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u06f7 &#8211; \u0645\u0633\u062f\u0648\u062f \u06a9\u0631\u062f\u0646 \u0628\u0627\u0632\u062f\u06cc\u062f \u06a9\u0646\u0646\u062f\u0647 \u0646\u0627\u062e\u0648\u0627\u0633\u062a\u0647 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0627\u0634\u0627\u0631\u0647 \u062f\u0627\u0645\u0646\u0647<\/strong><\/p>\n<pre class=\"lang:default decode:true \"># block visitors referred from indicated domains \n&lt;IfModule mod_rewrite.c&gt; \nRewriteEngine on \nRewriteCond %{HTTP_REFERER} scumbag.com [NC,OR] \nRewriteCond %{HTTP_REFERER} wormhole.com [NC,OR] \nRewriteRule .* - [F] \n&lt;\/ifModule&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><strong>\u06f8 &#8211; \u0645\u0633\u062f\u0648\u062f \u06a9\u0631\u062f\u0646 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0628\u0631 \u0627\u0633\u0627\u0633 \u0633\u0631\u0628\u0631\u06af User-Agent <\/strong><br \/>\n\u0627\u06cc\u0646 \u0631\u0648\u0634 \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0633\u0647\u0645\u06cc\u0647 \u067e\u0647\u0646\u0627\u06cc \u0628\u0627\u0646\u062f \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 \u0645\u0633\u062f\u0648\u062f \u06a9\u0631\u062f\u0646 \u0628\u0648\u062a \u0647\u0627 \u062e\u0627\u0635\u06cc \u06cc\u0627 \u0627\u0632 \u0647\u06a9 \u0639\u0646\u06a9\u0628\u0648\u062a\u06cc \u0628\u0647 \u0648\u0627\u0631\u062f \u0634\u062f\u0646 \u0648\u0628 \u0633\u0627\u06cc\u062a \u062e\u0648\u062f \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<pre class=\"lang:default decode:true \"># block visitors referred from indicated domains \n&lt;IfModule mod_rewrite.c&gt; \nSetEnvIfNoCase ^User-Agent$ .*(craftbot|download|extract|stripper|sucker|ninja|clshttp|webspider|leacher|collector|grabber|webpictures) HTTP_SAFE_BADBOT \nSetEnvIfNoCase ^User-Agent$ .*(libwww-perl|aesop_com_spiderman) HTTP_SAFE_BADBOT \nDeny from env=HTTP_SAFE_BADBOT \n&lt;\/ifModule&gt;\n\n<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u06f9 &#8211; \u0627\u0645\u0646 \u06a9\u0631\u062f\u0646 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0647\u0627 \u0628\u0627 \u063a\u06cc\u0631 \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0647\u0627execution<\/strong><\/p>\n<pre class=\"lang:default decode:true \"># secure directory by disabling script execution \nAddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi\nOptions -Ex<\/pre>\n<p>&nbsp;<\/p>\n<p><br class=\"Apple-interchange-newline\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0628\u0639\u0636\u06cc \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0647\u0627\u0633\u062a \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0627\u0632 \u0642\u062f\u0631\u062a \u0647\u0627\u06cc htaccess \u0622\u06af\u0627\u0647\u06cc \u0646\u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0646\u062f \u0628\u0639\u0636\u06cc \u0627\u0632 \u0627\u06cc\u0646 \u062a\u0631\u0641\u0646\u062f\u0647\u0627 \u0628\u0631\u0627\u06cc \u062d\u0641\u0627\u0638\u062a \u0648\u0628 \u0633\u0631\u0648\u0631 \u0634\u0645\u0627 \u0627\u0632 \u062d\u0645\u0644\u0627\u062a \u0647\u06a9\u0631\u0647\u0627 \u0636\u0631\u0648\u0631\u06cc \u0645\u06cc\u0628\u0627\u0634\u0646\u062f \u0648 \u0628\u0639\u0636\u06cc \u062f\u06cc\u06af\u0631 \u0642\u0627\u062f\u0631 \u0628\u0647 \u0627\u0646\u062c\u0627\u0645 \u06a9\u0627\u0631\u0647\u0627\u06cc \u0633\u0627\u062f\u0647 \u0648 \u0645\u0624\u062b\u0631 \u0627\u0632 \u0642\u0628\u06cc\u0644 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u0648\u0628 \u0633\u0631\u0648\u0631 \u0648 \u0648\u0628 \u0633\u0627\u06cc\u062a \u062e\u0648\u0627\u0647\u0646\u062f \u0628\u0648\u062f. Htaccess \u0647\u0627 \u0632\u06cc\u0631 \u0642\u0627\u062f\u0631 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2500,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[164],"tags":[435,292,293,436],"class_list":["post-2499","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-host","tag--htaccess","tag-----htaccess","tag---htaccess"],"_links":{"self":[{"href":"https:\/\/host97.net\/wiki\/wp-json\/wp\/v2\/posts\/2499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/host97.net\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/host97.net\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/host97.net\/wiki\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/host97.net\/wiki\/wp-json\/wp\/v2\/comments?post=2499"}],"version-history":[{"count":0,"href":"https:\/\/host97.net\/wiki\/wp-json\/wp\/v2\/posts\/2499\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/host97.net\/wiki\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/host97.net\/wiki\/wp-json\/wp\/v2\/media?parent=2499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/host97.net\/wiki\/wp-json\/wp\/v2\/categories?post=2499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/host97.net\/wiki\/wp-json\/wp\/v2\/tags?post=2499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}