Allows you to search a variety of questions and answers
You can do this via .htaccess either by adding the file to each root directory of the site, or adding the code to the specific container in the httpd.conf file.
There are a few different ways to do this.
1. To replace the hotlinked image with a 'nohotlink.jpg' image, put the following into the .htaccess file:
Code:
RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://(.+\.)?mysite\.com/ [NC] RewriteCond %{HTTP_REFERER} !^$ RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpe [L]
2. To prevent linking from specific outside domains like myspace.com, youtube.com, etc..
Code:
RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://(.+\.)?mysite\.com/ [NC] RewriteCond %{HTTP_REFERER} !^$ RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpe [L]
To just show a 403 error, replace the last lines in the previous examples with
Code:
RewriteRule .*\.(jpe?g|gif|bmp|png)$ - [F]
Hi Guys and Gals, I'll just say you all are top notch and go above and behind with support. I've tested many other companies none compare to the expertise you all. Previously I would just get a ticked bumped up to a higher level of tier support etc. with AYK everyone is knowledgeable and prompt. Thank you for offering a premium hosting solution. Warm Regards, Johnny
I've been a client of AYK Solutions for about six months now. They have provided the best overall experience I have had in over 10 years. I've tried iWeb, SingleHop, and a few others supposed to be the so-called best. Specifically, you are dealing with personal, professionals with AYK Solutions, and they are willing to help when all others want to charge you $** for this and $**/hr for that. I'm happy, and have no plans of going anywhere else; ever.