Greenguy's Board


Go Back   Greenguy's Board > Newbie Questions
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2005-01-16, 08:09 PM   #20
ClickBuster
I'm normally not a praying man, but if you're up there, please save me Superman!
 
ClickBuster's Avatar
 
Join Date: Dec 2004
Location: Bulgaria
Posts: 476
Send a message via ICQ to ClickBuster
Quote:
Originally posted by 7hom4s
Hmmm okay... Just have to figure out how. Isn't there a way of blocking certain urls instead?

7hom4s
You shouldn't block certain URLs or IPs Creating a file that will block hotlinking from all sites will kill you I mean really kill you, you'll die and still won't complete the list )

You're protecting yourself based on the referer URL. Now, this is the URL of the page the surfer came from. So if it's not from any of the domains listed above - he won't be able to access the site.

Remeber 2 things:
1. You should put the .htaccess file in the images dir ONLY or you block access to your .html files as well. For example:

/index.html
/images/gallery1/large/1.jpg
/images/.htaccess

2. Remeber that if you loaded a file with FireFox, it's now in the FF cache, so when you protect your files and try to access them thru FF they will open if they're protected. The best way to try if your hotlinking is working properly is to write the URL of an image directly in your browser's address bar, that way no referer URL is sent and the server will return "Access denied" and send you to the 404 error page (if any).

Regards,
ClickBuster
__________________
The tendency is to push it as far as you can
-- Fear and Loathing In Las Vegas
ClickBuster is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:11 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Đ Greenguy Marketing Inc