<pre class="prettyprint lang-config">
-RewriteCond %{HTTP_REFERER} <strong>!^$</strong>
+RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !www.example.com [NC]
-RewriteRule <strong>\.(gif|jpg|png)$</strong> - [F,NC]
+RewriteRule \.(gif|jpg|png)$ - [F,NC]
</pre>
an alternate image instead.</p>
<pre class="prettyprint lang-config">
-RewriteCond %{HTTP_REFERER} <strong>!^$</strong>
+RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !www.example.com [NC]
-RewriteRule <strong>\.(gif|jpg|png)$</strong> /images/go-away.png [R,NC]
+RewriteRule \.(gif|jpg|png)$ /images/go-away.png [R,NC]
</pre>
other site.</p>
<pre class="prettyprint lang-config">
-RewriteCond %{HTTP_REFERER} <strong>!^$</strong>
+RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !www.example.com [NC]
-RewriteRule <strong>\.(gif|jpg|png)$</strong> http://other.example.com/image.gif [R,NC]
+RewriteRule \.(gif|jpg|png)$ http://other.example.com/image.gif [R,NC]
</pre>
we just wish to redirect back to where they came from, a "-" is
placed in the map:</p>
-<div class="example"><p><code>
+<pre class="prettyprint lang-config">
##<br />
## deflector.map<br />
##<br />
http://badguys.example.com/bad/index.html -<br />
http://badguys.example.com/bad/index2.html -<br />
http://badguys.example.com/bad/index3.html http://somewhere.example.com/
-</code></p></div>
+</pre>
+
</dd>
</dl>