Tom Posted April 18, 2011 Report Share Posted April 18, 2011 I want to prevent downloading of any zips by putting the address in your browser, so I can control who is downloading. I added it to the htaccess as follows, but no luck <FilesMatch "\.(htaccess|htpasswd|ini|phps|fla|psd|log|sh|tpl|zip)$"> Order Allow,Deny Deny from all </FilesMatch> Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 18, 2011 Administrators Report Share Posted April 18, 2011 Are tpl's blocked? Quote Link to comment Share on other sites More sharing options...
Tom Posted April 18, 2011 Author Report Share Posted April 18, 2011 Yeah, I pasted this from Vansers' thread a while back. Works for everything else. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 18, 2011 Administrators Report Share Posted April 18, 2011 Strange, I thought the order would be Order Deny, Allow Quote Link to comment Share on other sites More sharing options...
Tom Posted April 18, 2011 Author Report Share Posted April 18, 2011 Changing the order doesn't make a difference fivedev automatically has these settings right? Does it override what I put in my htaccess files? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 18, 2011 Administrators Report Share Posted April 18, 2011 Ah, the front-end automatically serves up files which exist, so images, and zips won't hit apache or the htaccess (it keeps load down significantly) Let me see if I can tweak that Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 18, 2011 Administrators Report Share Posted April 18, 2011 Give it a shot now Quote Link to comment Share on other sites More sharing options...
Tom Posted April 19, 2011 Author Report Share Posted April 19, 2011 Yeah it's still downloading Edit: Don't worry, I'm going to use a directory above public_html instead. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.