Rewrite and hotlink protection

New to mod_rewrite? This is a good place to start.

Postby ng » Tue Sep 29, 2009 1:23 pm

but id like to first solutions yet :) thx :)
ng
 
Posts: 13
Joined: Sat Sep 26, 2009 5:34 pm

Postby richardk » Tue Sep 29, 2009 3:03 pm

Patience!

What exactly is in your .htaccess file?
What happens when you go to /images/199/261029_balon.jpg? Do you get redirected or do you see the image?
What happens when you go to /show/199/261029_balon.jpg? Do you see the image?
Does your browser send the HTTP Referer header?
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Postby ng » Wed Sep 30, 2009 7:30 am

Ok :)

oh so now i see normal direct image...but yesterday i saw rewrite.. :)

but id like to first solutions thanks so much richardk :) or do you have any solutions which will be really functional?
ng
 
Posts: 13
Joined: Sat Sep 26, 2009 5:34 pm

Postby richardk » Wed Sep 30, 2009 12:57 pm

I can barely understand what you are trying to say. In future please answer all of my questions.

do you have any solutions which will be really functional?

I don't think there is a reliable solution to stop direct access without also catching legitimate users.
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Previous

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 9 guests

cron