Web Hosting Talk







View Full Version : Web Design Help


Synthetic
06-03-2002, 10:49 PM
Here's my question:

How can I have a visitor be re-directed to a certain page if/when they type in http://www.mysite.com/image.jpg (.gif, etc..)

I'm sure this is possible because I've seen it done before..

iamdave
06-03-2002, 11:15 PM
What is the use/purpose of this?

Phrozen
06-03-2002, 11:20 PM
Originally posted by iamdave
What is the use/purpose of this? To stop hotlinking of images?

Synthetic
06-03-2002, 11:22 PM
The purpose is to protect my images from being ripped and to prevent hot-linking.

21inchguns
06-03-2002, 11:50 PM
use .htaccess

eg:
RewriteEngine On
ReWriteRule .*\.jpg$ http://www.errorpage.com [R,L]

read up about it and you will find some good info

Dogma
06-03-2002, 11:55 PM
<http://www.codingclick.com/article.php?page=4&aid=3>