Forum Moderators: bakedjake

Message Too Old, No Replies

Placing images on a second *nix server.

A way to stop hotlinking?

         

Broadway

1:51 pm on Jun 23, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I host my site on a Windows server. I feel I have a problem with hotlinking (images). For this reason and another it was suggested to me in another thread to place the image files on a second server (a *nix server). The idea is that I can use .htaccess to stop the hotlinking of my images. (I feel I can't host the html files of my website on a *nix server because capitalization associated problems with my html file names.)

Does hosting on two different servers in this fashion seem reasonable? Am I opening myself up to any unforseen problems or complications?

Can .htaccess be configured where it will let my Windows server pages call up graphics from the *nix server yet stop hotlinking from other sites?

Would I have priveledges with accessing .htaccess with a SHARED *nix hosting plan or would it have to be something else?

Pfui

3:49 pm on Jun 24, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



-- Check out the Apache Web Server [webmasterworld.com] forum and keep an eye out for replies by its mod, jdMorgan (Jim).

There are somewhat comparable .htaccess / mod_rewrite / anti-hotlinking tricks for Windows boxes so you might want to search that forum's prior posts, too.

-- Re capitalization: My Unix/Linux-based files are predominantly mixed case and there's no problem whatsoever. So even this tortured example would be A-OK:

/directory-A/SUBDIR/File.Name.description.Etc.html

HTH

xiand

3:28 pm on Jun 25, 2006 (gmt 0)

10+ Year Member



If you are serving up static pages/images only, you should check out thttpd (http://www.acme.com/software/thttpd/). It is very fast, very light (resource), and quite simple. Check out "NON-LOCAL REFERERS" for hotlinking solutions.