# Attn: web people (again)

**URL:** <https://forums.speedlife.net/t/attn-web-people-again/167709>\
**Category:** PittSpeed Off Topic\
**Created:** [July 15, 2004, 12:27pm UTC](https://forums.speedlife.net/t/attn-web-people-again/167709 "2004-07-15T12:27:42Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ninjenn](https://avatars.discourse-cdn.com/v4/letter/n/c67d28/32.png) [@ninjenn](https://forums.speedlife.net/u/ninjenn)\
**Post date:** [July 15, 2004, 12:27pm UTC](https://forums.speedlife.net/t/attn-web-people-again/167709/1 "2004-07-15T12:27:42Z")

</div>

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/.\*$](http://newdawncustoms.com/.*%24) [NC]  
RewriteRule .(gif|jpg)$ [http://www.newdawncustoms.com/stealingbandwidth.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… ☹

---

<div class="post-metadata">

**Author:** ![whitey](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/whitey/32/5911_2.png) [@whitey](https://forums.speedlife.net/u/whitey)\
**Post date:** [July 15, 2004, 12:48pm UTC](https://forums.speedlife.net/t/attn-web-people-again/167709/2 "2004-07-15T12:48:29Z")

</div>

your server must be able to mod\_rewrite

[http://httpd.apache.org/docs/mod/mod\_rewrite.html](http://httpd.apache.org/docs/mod/mod_rewrite.html)

let me see your phpinfo file

---

<div class="post-metadata">

**Author:** ![ninjenn](https://avatars.discourse-cdn.com/v4/letter/n/c67d28/32.png) [@ninjenn](https://forums.speedlife.net/u/ninjenn)\
**Post date:** [July 15, 2004, 12:50pm UTC](https://forums.speedlife.net/t/attn-web-people-again/167709/3 "2004-07-15T12:50:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ninjenn](https://avatars.discourse-cdn.com/v4/letter/n/c67d28/32.png) [@ninjenn](https://forums.speedlife.net/u/ninjenn)\
**Post date:** [July 15, 2004, 12:50pm UTC](https://forums.speedlife.net/t/attn-web-people-again/167709/4 "2004-07-15T12:50:47Z")

</div>

Well, I just kind-of assumed that mod\_rewrite was on…

---

<div class="post-metadata">

**Author:** ![ninjenn](https://avatars.discourse-cdn.com/v4/letter/n/c67d28/32.png) [@ninjenn](https://forums.speedlife.net/u/ninjenn)\
**Post date:** [July 15, 2004, 12:51pm UTC](https://forums.speedlife.net/t/attn-web-people-again/167709/5 "2004-07-15T12:51:32Z")

</div>

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();  
> }  
> ?\>

---

<div class="post-metadata">

**Author:** ![whitey](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/whitey/32/5911_2.png) [@whitey](https://forums.speedlife.net/u/whitey)\
**Post date:** [July 15, 2004, 12:57pm UTC](https://forums.speedlife.net/t/attn-web-people-again/167709/6 "2004-07-15T12:57:26Z")

</div>

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

then PM me the link

---

<div class="post-metadata">

**Author:** ![ninjenn](https://avatars.discourse-cdn.com/v4/letter/n/c67d28/32.png) [@ninjenn](https://forums.speedlife.net/u/ninjenn)\
**Post date:** [July 15, 2004, 12:58pm UTC](https://forums.speedlife.net/t/attn-web-people-again/167709/7 "2004-07-15T12:58:04Z")

</div>

doh… hold on!

---

<div class="post-metadata">

**Author:** ![ninjenn](https://avatars.discourse-cdn.com/v4/letter/n/c67d28/32.png) [@ninjenn](https://forums.speedlife.net/u/ninjenn)\
**Post date:** [July 15, 2004, 1:13pm UTC](https://forums.speedlife.net/t/attn-web-people-again/167709/8 "2004-07-15T13:13:11Z")

</div>

Let’s see if it works… ![http://www.newdawncustoms.com/jenn/bo/00000002.JPG](http://www.newdawncustoms.com/jenn/bo/00000002.JPG)

---

<div class="post-metadata">

**Author:** ![ninjenn](https://avatars.discourse-cdn.com/v4/letter/n/c67d28/32.png) [@ninjenn](https://forums.speedlife.net/u/ninjenn)\
**Post date:** [July 15, 2004, 1:13pm UTC](https://forums.speedlife.net/t/attn-web-people-again/167709/9 "2004-07-15T13:13:28Z")

</div>

Nope… ☹

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

---

<div class="post-metadata">

**Author:** ![ninjenn](https://avatars.discourse-cdn.com/v4/letter/n/c67d28/32.png) [@ninjenn](https://forums.speedlife.net/u/ninjenn)\
**Post date:** [July 15, 2004, 1:16pm UTC](https://forums.speedlife.net/t/attn-web-people-again/167709/10 "2004-07-15T13:16:21Z")

</div>

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