how does this ...work?

windows

Guest
this is what i find...how and where do i put this?

RewriteEngine on
RewriteCond %{http://www.mypage/game.zip} !^$
RewriteCond %{http://www.mypage/game2.zip} !^http://www.mypage.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mypage.com/.*$ [NC]
RewriteRule .*\.zip$ - [G]

ok this is what i see...
it says to load this into my image directory..
now since i want to guard files not images
where do i place these?
I have my games all in the http documents file
all loose no other directories...
now what do i do with the cgibin file?
and what is .htaccess...
i need a clue...
what does it do when people link to my files?
does i redirect them? does it show a log
of all the sites that are trying to link?

ok can you sense that i am real lost??
haha
thanks!
chris
i am trying my best to understand this...What a lot of questions:
I assume that you have Download ed that code. Does it include documentation? Or can you state origin of the code?
Htaccess is used for a personalised error message like a 404 or to authenticate users. It is considered as the best authentication method using only the browser without special software. For a tutorial, <!-- m --><a class="postlink" href="http://www.ace-installer.com/htpassword.php">http://www.ace-installer.com/htpassword.php</a><!-- m -->
I hope that some of your questions are answered.Now I get you after reading your series of posts:
post
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://gif.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.gif.com/.*$ [NC]
RewriteRule .*\.gif$ - [G]
in your root directory. If you're guarding your files, simply put them in the folder where your files reside.im sorry i was so confusing....:)
i will go try all the advice....thanks all!!i am still a little confused:)
ok...
i am to place the previous script where all
my games are...nothing else?

and each one must say the page i want guarded?
or the particular zip i want guarded???

SO I DON'T need to do anything with .htaccess..
right? i don't want passwords i just wanna protect
from hotlinking....

so just place that script with each page....right?

i think im getting you ....slowly:)
thanks for the help...
i know i'll be back...

(this is all new to me)
chris
 
Back
Top