SunQuest
           Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old November 22nd, 2004, 09:17 PM
feverinlove feverinlove is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 feverinlove User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
.htaccess

SetEnvIfNoCase Referer "^http://www.cherez.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://www.cherez.com$" locally_linked=1
SetEnvIfNoCase Referer "^http://cherez.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://cherez.com$" locally_linked=1
SetEnvIfNoCase Referer "^$" locally_linked=1
<FilesMatch ".(mp3)$">
Order Allow,Deny
Allow from env=locally_linked
</FilesMatch>

This is the htaccess file that I found. It is supposed to stop all other sites from downloading my mp3 files. Well it does but when some people try to download them mp3s are opened in the browser. Save as window never shows up. Well we had a debate about it with my webmaster friend and he thinks it is because of the htaccess file. Is it?

Reply With Quote
  #2  
Old November 22nd, 2004, 10:12 PM
nawlej nawlej is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Dallas, Tx. USA
Posts: 2,008 nawlej User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 7 m 51 sec
Reputation Power: 4
RE: .htaccess

what happens when you disable te htaccess file?

Reply With Quote
  #3  
Old November 23rd, 2004, 05:38 AM
feverinlove feverinlove is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 feverinlove User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: .htaccess

everybody can download the file

Reply With Quote
  #4  
Old December 1st, 2004, 08:10 PM
rehfeld_dot_us rehfeld_dot_us is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Posts: 825 rehfeld_dot_us User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: .htaccess

maybe because of the files match apache is no longer sending the correct header w/ the files,

try this


Code:

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(www.)?cherez.com [NC]
RewriteRule .mp3 ugly_you_are_denied_access_image.jpg [L]



that will rewrite any browser which doesnt send a referer header
which contains
http://cherez.com
or
http://www.cherez.com

to :
ugly_you_are_denied_access_image.jpg

you can put a nice repulsive image there if you like hehe

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > .htaccess


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway