Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mod rewrite ?'s

Status
Not open for further replies.

ForeverKate

Programmer
Feb 21, 2000
1
US
OK.<br>
Want to protect the all images on the domain foreverkate.com<br>
The following domains are IRM(overlayed) to foreverkate.com: foreverkate.net, foreverkate.org, katewinslet.net, katewinslet.org<br>
If a request come from another http other than the domains listed we want it to return a graphic that states the image has been linked and are stealing bandwidth.<br>
Placing a .htaccess file in the main directory i.e. big/dom/xforeverkate/Also need to protect all sub directories to!<br>
This is what our .htaccess file looks like:<br>
<br>
RewriteEngine on<br>
RewriteCond %{HTTP_REFERER} !^$<br>
RewriteCond %{HTTP_REFERER} !^ [NC]<br>
RewriteCond %{HTTP_REFERER} !^ [NC]<br>
RewriteCond %{HTTP_REFERER} !^ [NC]<br>
RewriteCond %{HTTP_REFERER} !^ [NC]<br>
RewriteCond %{HTTP_REFERER} !^ [NC]<br>
RewriteRule \.(gif¦jpg)$ <A HREF=" TARGET="_new"> [R]<br>
<br>
------<br>
Any help would be greatly appreciated,<br>
Patrick<br>
CIO, Chief Internet Officer<br>
<A HREF=" TARGET="_new"><A HREF="mailto:patrick@foreverkate.com">patrick@foreverkate.com</A>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top