Attn: web people (again)

How to disable hot-linking??? I have the code for it, but it doesn’t fucking work. :mad:

I put this:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?newdawncustoms.com/.*$ [NC]
RewriteRule .(gif|jpg)$ http://www.newdawncustoms.com/stealingbandwidth.jpg [R,L]

in the bottom of my .htaccess file in the main web directory and it didn’t work… :frowning:

your server must be able to mod_rewrite

http://httpd.apache.org/docs/mod/mod_rewrite.html

let me see your phpinfo file

Where’s that at? I haven’t seen that before. This is a Linux server if that helps.

Well, I just kind-of assumed that mod_rewrite was on…

Nevermind… found it.

This is the contents of phpinfo.php

<?php
/* $Id: phpinfo.php,v 1.6 2001/11/09 07:54:04 loic1 Exp $ */

/**

  • Gets core libraries and defines some variables
    */
    require(‘./libraries/grab_globals.lib.php’);
    require(‘./libraries/common.lib.php’);

/**

  • Displays PHP information
    */
    $is_superuser = @mysql_query(‘USE mysql’, $userlink);
    if ($is_superuser || $cfgShowPhpInfo) {
    phpinfo();
    }
    ?>

no create a php site with <? phpinfo(); ?> in it

then PM me the link

doh… hold on!

Let’s see if it works… http://www.newdawncustoms.com/jenn/bo/00000002.JPG

Nope… :frowning:

Do I have to put this in a special place in my .htaccess file??

I even tried not using the code that will replace the image, only block it… GOD I HATE IPOWERWEB.