<?xml version="1.0" encoding="UTF-8"?><rss version="2.0">
<channel>
    <title>Dažādas piezīmes htaccess - vajadzīgs neliels HELP</title>
    <link>https://tvertne.org/blogi/?itemid=3367</link>
    <description>Jautājums vai sekojošo fišku var veikt ar .htaccess (modrewrite?) palīdzību? httpd ir apache.Tātad, gribu nobloķēt (lai rāda f*ck off, t.i. - error 403) jebkurus pieprasījumus, kas nāk se..</description>
    <language>lv</language>
    <image>
        <url>http://tvertne.org/logo-org.gif</url>
        <title>htaccess - vajadzīgs neliels HELP</title>
        <link>https://tvertne.org/blogi/?itemid=3367</link>
    </image>
    <docs>http://backend.userland.com/rss</docs>
	    <item>
<title>Dažādas piezīmes htaccess - vajadzīgs neliels HELP</title>
<link>https://tvertne.org/blogi/?itemid=3367</link>
<description>Jautājums vai sekojošo <span style="font-style: italic;">fišku</span> var veikt ar <b>.htaccess</b> (modrewrite?) palīdzību? <br />httpd ir apache.<br /><br />Tātad, gribu nobloķēt (lai rāda <span style="font-style: italic;">f*ck off</span>, t.i. - <b>error 403</b>) jebkurus pieprasījumus, kas nāk sekojošā formā:<br /><br /><b>xxx.xxx.xxx.xxx</b> - - [17/Jul/2012:15:55:52 +0300] "HEAD /kaukas/blablaba.jpg HTTP/1.0" 200 - "-" "WordPress/3.4.1; <b><a class="linkification-ext" href="http://sliktaissaits.com" title="Linkification: http://sliktaissaits.com">http://sliktaissaits.com</a></b>"<br /><br />Respektīvi, xxx.xxx.xxx.xxx ir <b>jebkura</b> IP, kurai jātiek bloķētai, ka ja viņa tiek "refferrota" no <b><a class="linkification-ext" href="http://sliktaissaits.com" title="Linkification: http://sliktaissaits.com">http://sliktaissaits.com</a></b> veicot pieprasījumu jebkam, kas atrodas /kaukas/*<br /><br />Ja <b>xxx.xxx.xxx.xxx</b> nenāk no <a class="linkification-ext" href="http://sliktaissaits.com" title="Linkification: http://sliktaissaits.com">http://sliktaissaits.com</a>, tad pieslēgumam jābūt atļautam.<br /><br />Tas ir iespējams? <br />
Neesmu <span style="font-style: italic;">htaccess/modrewrite</span> mega pazinējs.<br />
<div class="itembody">
</div></description>
<pubDate></pubDate>
</item>
        <item>
<title>Comments by: Jancha</title>
<link>https://tvertne.org/blogi/?itemid=3367#4775</link>
<description><a href="">Jancha</a><br />Ej uz stackoverflow.com<br /><br />Bet vispar rewritecond ir atbilde uz Tavu jautajumu</description>
<pubDate></pubDate>
</item>
        <item>
<title>Comments by: HELDON</title>
<link>https://tvertne.org/blogi/?itemid=3367#4776</link>
<description><a href="http://tvertne.org">HELDON</a><br />hmm, vispār, nezinu vai sanāks..tas Wordpress kaut kā viltīgi konkrēto resursu ir hotlinkojis.<br /><br />Ja eju caur proxy no tās Wordpress sūda lapas (a.k.a. sliktaissaits.com), tad manos log failos tas uzrādās kā parasts tiešais pieprasījums, respektīvi..<br /><br />xxx.xxx.xxx.xxx - - [17/Jul/2012:17:20:14 +0300] &quot;GET /kaukas/blablabla.jpg HTTP/1.0&quot; 200 32516 &quot;-&quot; &quot;Mozilla/4.0 (Linux sdjkfhdkf-blabla-sdfd)&quot;<br /><br />Respektīvi, nekāda refferra nav.<br /><br />Vienīgais, tātad, ko var darīt ir nobloķēt tiešos pieprasījumus, bet tas nerulz...</description>
<pubDate></pubDate>
</item>
        <item>
<title>Comments by: edza</title>
<link>https://tvertne.org/blogi/?itemid=3367#4777</link>
<description><a href="s@o-o.lv">edza</a><br />Tādi reffereri būs daudz, tur ir vajadzīgs globālāks risinājums (plugins, htaccess rule or smth). Katru jau šitā iekšā necepsi.</description>
<pubDate></pubDate>
</item>
        <item>
<title>Comments by: hQuse</title>
<link>https://tvertne.org/blogi/?itemid=3367#4778</link>
<description><a href="http://manalieliskaaneeksisteejoshaamaajaslapa.lv">hQuse</a><br /><a href="http://www.javascriptkit.com/howto/htaccess14.shtml" rel="nofollow">http://www.javascriptkit.co...</a><br /><br /><a href="http://www.tegdesign.ch/index.php?option=com_content&amp;view=article&amp;id=204:referer-blocker-g-htaccess&amp;catid=70:articles&amp;Itemid=55" rel="nofollow">http://www.tegdesign.ch/ind...</a><br /><br />Un jā, man, piemēram, visi web pieprasījumi iet caur lokālo proxy (Proxomitron). Iekš proxomitrona krustām šķērsām visu ko var nofiltrēt gan pārlūka versiju, gan refereri feikot un tā tālāk. <br /><br />Varbūt vajag citu risinājumu, piem. nobloķēt to webu, kurā ir salikti linki un nomainīt /kaukas/blablabla.jpg uz /kaukas/875643876.jpg</description>
<pubDate></pubDate>
</item>
        <item>
<title>Comments by: hQuse</title>
<link>https://tvertne.org/blogi/?itemid=3367#4779</link>
<description><a href="http://manalieliskaaneeksisteejoshaamaajaslapa.lv">hQuse</a><br />Vēl, kas. Par HEAD metodi. Ar to netiek lejupielādēts gala saturs, bet gan tikai pārbaudīta linka esamība.<br /><br />9.4 HEAD<br /><br />The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. The metainformation contained in the HTTP headers in response to a HEAD request SHOULD be identical to the information sent in response to a GET request. This method can be used for obtaining metainformation about the entity implied by the request without transferring the entity-body itself. This method is often used for testing hypertext links for validity, accessibility, and recent modification.<br /><br />The response to a HEAD request MAY be cacheable in the sense that the information contained in the response MAY be used to update a previously cached entity from that resource. If the new field values indicate that the cached entity differs from the current entity (as would be indicated by a change in Content-Length, Content-MD5, ETag or Last-Modified), then the cache MUST treat the cache entry as stale.</description>
<pubDate></pubDate>
</item>
        <item>
<title>Comments by: HELDON</title>
<link>https://tvertne.org/blogi/?itemid=3367#4780</link>
<description><a href="http://tvertne.org">HELDON</a><br />Pagaidām izdzēsu (nomainīju) hotlinkoto saturu. Tagad iekš sliktaissaits.com tā vietā rādās nekas.<br /><br />Vispār šādos gadījumos, man dažkārt ir liela vēlme nomainīt attiecīgo hotlinkoto bildi ar kādu ultra-hardc0re p0rn0 bildi, lai tam saitam kas hotlinkojis būtu problēmas :D</description>
<pubDate></pubDate>
</item>
        <item>
<title>Comments by: hQuse</title>
<link>https://tvertne.org/blogi/?itemid=3367#4781</link>
<description><a href="http://manalieliskaaneeksisteejoshaamaajaslapa.lv">hQuse</a><br />+1 par ideju hehe :D</description>
<pubDate></pubDate>
</item>
        <item>
<title>Comments by: Gastons</title>
<link>https://tvertne.org/blogi/?itemid=3367#4782</link>
<description><a href="">Gastons</a><br />Nav kaut kas tāds:<br /><a href="http://www.maxi-pedia.com/Order+allow+deny" rel="nofollow">http://www.maxi-pedia.com/O...</a></description>
<pubDate></pubDate>
</item>
        <item>
<title>Comments by: capsx</title>
<link>https://tvertne.org/blogi/?itemid=3367#4790</link>
<description><a href="http://team.lv">capsx</a><br />nuu<br />panhem visus HEAD pieprasiijumus nodropo<br /><br />aka<br /><br />RewriteCond %{THE_REQUEST} ^HEAD<br />RewriteRule ^(.*)$ <a href="http://manalapa.lv/fck.jpg" rel="nofollow">http://manalapa.lv/fck.jpg</a>	 [L]</description>
<pubDate></pubDate>
</item>
            </channel>
</rss>
        