PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : مشکل عدم جوابگویی url rewrite برای جلوگیری hotlinking



koorosh_kabir
November 23rd, 2012, 20:22
سلام من برای جلوگیری از سوء استفاده کاربران از فرمت بندی فایلهای سایتم و یا استفاده فایلهام در سایتهای دیگه اومدم و افزونه url rewrite را برای جلوگیری از hotlinking اجرا کردم ویندوز 2008 و ورژن ای ای اس هم 7 هست. تمامی رول ها را هم با خود url rewrite چک کردم فکر کنم درست هستند .
این هم رولهام ولی متاسفانه اصلا اینگار نه اینگار و کار نمی ده و لینکها مثل قبل از بیرون سایت در دسترس هست ممنون میشم راهنمایی کنید. با سپاس



<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<directoryBrowse enabled="false" />
<staticContent>
<mimeMap fileExtension=".flac" mimeType="audio/flac" />
<mimeMap fileExtension=".srt" mimeType="application/x-subrip" />
</staticContent>
<rewrite>
<rules>
<rule name="Prevent Leeching" stopProcessing="true">
<match url=".*\.(mkv|avi|mp4|rar|zip|flv|MKV|MP4|MP4|RAR|ZIP)$" />
<conditions>
<add input="{HTTP_REFERER}" pattern="^$" negate="true" />
<add input="{HTTP_REFERER}" pattern="^http://(.*\.)?anime4u\.ir/.*$" negate="true" />
<add input="{HTTP_REFERER}" pattern="^http://anime4u\.ir/.*$" negate="true" />
<add input="{HTTP_REFERER}" pattern="^http://xip\.ir/.*$" negate="true" />
<add input="{HTTP_REFERER}" pattern="^http://onelink\.ir/.*$" negate="true" />
<add input="{HTTP_REFERER}" pattern="^http://q\.gs/.*$" negate="true" />
<add input="{HTTP_REFERER}" pattern="^http://(.*\.)any\.gs" negate="true" />
<add input="{HTTP_REFERER}" pattern="^http://(.*\.)linkbucks\.com" negate="true" />
<add input="{HTTP_REFERER}" pattern="^http://adf\.ly/.*$" negate="true" />
</conditions>
<action type="Rewrite" url="http://www.anime4u.ir/never.htm" appendQueryString="true" logRewrittenUrl="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>