Google Community
Latest Forums Rules Resources
Custom Search

Go Back   Google Community > Webmaster Forums > Web Design, Coding & Programming Forum

GoogleCommunity Sponsor
Cirtex Hosting
Use coupon "forum" for 50% Off!

Reply
 
LinkBack Thread Tools Display Modes
Old 08-19-2006, 08:21 AM   #1 (permalink)
Junior Googler
 
Join Date: Oct 2005
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
anversli
Need help for .htaccess

Hi,brbrI need some help with my .htaccess file.brTo protect my swf files on my server, I placed a .htaccess file to stop hotlinking.brbrHere is the code off my .htacces file.br
Code:
RewriteEngine onbrRewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?minispel.be [NC]brRewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?uwspelletjes.nl [NC]brRewriteRule \.(swf|dcr)$ http://www.minispel.be/500.html [NC,R,L]
brbrThe swf files are hosted on www.minispel.be and ww.uwspelletjes.nl is my second game site. As you see www.uwspelletjes.nl is allowed to link the swf files, but this code is not working in Firefoxe.brbrWhen I wanna play a game with firefox on both websites, I get a message "Stop Hotlinking" and it redirect me to www.minispel.be, but he has to do this only with other websites.brbrIt works perfect with IE and Opera, but not in Firefox.brbrCan someone help to fix this script for Firefox.br
anversli is offline   Reply With Quote
 
Sponsored Links
Old 08-20-2006, 07:14 AM   #2 (permalink)
Junior Googler
 
Join Date: Oct 2005
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
anversli
Anyone wonts to help me?brbrNobody ?
anversli is offline   Reply With Quote
Old 09-03-2006, 12:21 AM   #3 (permalink)
Noogle
 
Join Date: Sep 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
bradlee
Send a message via MSN to bradlee Send a message via Yahoo to bradlee
Hi

Well this would be easy if your website is setup using CPANEL which common now a days. CPANEL has HotLink Protection Feature.
bradlee is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
.htaccess tutorial puccavn Web Design, Coding & Programming Forum 2 08-22-2005 01:29 AM
.htaccess Password Protection puccavn Web Design, Coding & Programming Forum 0 05-05-2005 11:52 PM


All times are GMT -8. The time now is 02:05 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004–2007 Google Community