Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-12-2011, 10:48 AM   PM User | #1
css-quest
New Coder

 
Join Date: Nov 2010
Posts: 42
Thanks: 7
Thanked 0 Times in 0 Posts
css-quest is an unknown quantity at this point
Prevent image file from being opened

I've noticed on some websites, if you get the direct link of an image and paste it into the browser location bar, it redirects to the homepage or a 404 page instead of showing the image.

Anyone know if this is easy to do or does it require a lot of scripting?

I'd assume it could be done via .htaccess somehow??

Thanks in advance.
css-quest is offline   Reply With Quote
Old 04-12-2011, 05:34 PM   PM User | #2
monkey186
New Coder

 
Join Date: Apr 2011
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
monkey186 is an unknown quantity at this point
Do you mean to prevent image hot-linking? Here is some information: http://www.alistapart.com/articles/hotlinking/
monkey186 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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 +1. The time now is 05:51 AM.


Advertisement
Log in to turn off these ads.